Boost C++ Libraries: Ticket #2715: Boost thread fails to compile on Solaris https://svn.boost.org/trac10/ticket/2715 <p> 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. </p> <p> This solution works: <a class="ext-link" href="http://www.nabble.com/Building-boost-on-Solaris-10-SPARC-with-gcc:-threading-problem-td21472986.html"><span class="icon">​</span>http://www.nabble.com/Building-boost-on-Solaris-10-SPARC-with-gcc:-threading-problem-td21472986.html</a> </p> <p> Here are the versions I detect: </p> <p> uname -a SunOS solo 5.9 Generic_122300-05 sun4u sparc SUNW,Sun-Fire-V210 </p> <p> 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. </p> <p> I was trying to build boost 1.37. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2715 Trac 1.4.3 Steven Watanabe Mon, 02 Feb 2009 17:36:45 GMT component changed; owner set https://svn.boost.org/trac10/ticket/2715#comment:1 https://svn.boost.org/trac10/ticket/2715#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> <p> I'm pretty sure that this has been fixed already for 1.38. </p> Ticket anonymous Mon, 02 Feb 2009 17:43:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2715#comment:2 https://svn.boost.org/trac10/ticket/2715#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Yes, the fix is on release branch. </p> Ticket anonymous Mon, 02 Feb 2009 20:07:52 GMT <link>https://svn.boost.org/trac10/ticket/2715#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2715#comment:3</guid> <description> <p> Thank you for looking at it so quickly. I couldn't find it in trac so I guessed another bugreport wouldn't harm, sorry :-) </p> </description> <category>Ticket</category> </item> </channel> </rss>