Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2715 closed Bugs (fixed)

Boost thread fails to compile on Solaris

Reported by: merijn.vogel@… Owned by: Vladimir Prus
Milestone: Boost 1.38.0 Component: build
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (3)

comment:1 by Steven Watanabe, 14 years ago

Component: Building Boostbuild
Owner: set to Vladimir Prus

I'm pretty sure that this has been fixed already for 1.38.

comment:2 by anonymous, 14 years ago

Resolution: fixed
Status: newclosed

Yes, the fix is on release branch.

comment:3 by anonymous, 14 years ago

Thank you for looking at it so quickly. I couldn't find it in trac so I guessed another bugreport wouldn't harm, sorry :-)

Note: See TracTickets for help on using tickets.