Subject: [Boost-bugs] [Boost C++ Libraries] #2715: Boost thread fails to compile on Solaris
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-02 15:58:46
#2715: Boost thread fails to compile on Solaris
------------------------------------+---------------------------------------
Reporter: merijn.vogel_at_[hidden] | Owner:
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: Building Boost
Version: Boost 1.37.0 | Severity: Problem
Keywords: |
------------------------------------+---------------------------------------
While building, boost forgets to set -pthreads as compile option, causing
it not to compile properly. It does set -pthread, but that's not the flag
my gcc expects.
This solution works:
http://www.nabble.com/Building-boost-on-Solaris-10-SPARC-with-gcc
:-threading-problem-td21472986.html
Here are the versions I detect:
uname -a
SunOS solo 5.9 Generic_122300-05 sun4u sparc SUNW,Sun-Fire-V210
solo:~(502) gcc --version
sparc-sun-solaris2.8-gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
I was trying to build boost 1.37.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2715> 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:49:59 UTC