Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9118: Seg fault on thread join
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-15 19:51:43
#9118: Seg fault on thread join
-------------------------------+----------------------
Reporter: tconant@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: threads
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------
Comment (by anonymous):
The description got messed up when I copied and pasted it in
The following generates an executable that will seg fault.
{{{
clang -x c++ -arch x86_64 -std=gnu++11 -stdlib=libc++ -I/opt/local/include
-c main.cpp -o main.o
clang++ -arch x86_64 -L/opt/local/lib main.o -stdlib=libc++
-lboost_system-mt -lboost_thread-mt -o mutex_test
}}}
The following will generate an executable that will not seg fault
{{{
clang -x c++ -arch x86_64 -I/opt/local/include -std=gnu++11 -c main.cpp -o
main.o
clang++ -arch x86_64 -L/opt/local/lib main.o -lboost_system-mt
-lboost_thread-mt -o mutex_test
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9118#comment:1> 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:14 UTC