Re: [Boost-bugs] [Boost C++ Libraries] #9118: Seg fault on thread join when llvm and libc++ are used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9118: Seg fault on thread join when llvm and libc++ are used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-17 11:24:23


#9118: Seg fault on thread join when llvm and libc++ are used
-------------------------------+---------------------
  Reporter: tconant@… | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.54.0 | Severity: Problem
Resolution: duplicate | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 Replying to [comment:11 markus.weber@…]:

> It only seems to work if we explicitly sett the packing to 8 prior to
 the include.

 That indeed solves the problem. Added #pragma pack(8) just before first
 include file in boost/boost/thread.hpp

 However its a temporary workaround and not a proper fix. Very much looking
 forward for a proper fix (a proper location for pragma statement to go or
 something similar).
 Reproducible on MacOSX 10.8.5 using CLang compiler (Xcode 5) built with
 stdc++98 and libstdc++

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9118#comment:12>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC