Boost C++ Libraries: Ticket #7542: Missing -lpthread in chrono/io tester Sandia-clang-trunk https://svn.boost.org/trac10/ticket/7542 <pre class="wiki"> Test output: Sandia-clang-trunk - chrono - v1_french_s / clang-linux-trunk Rev 81015 / Fri, 19 Oct 2012 02:32:03 +0000 Report Time: Sun, 21 Oct 2012 05:47:52 +0000 Link [2012-10-19 03:16:51 UTC]: fail "/scratch/kbelco/llvm_linux/build/Release+Asserts/bin/clang++" -o "/scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/v1_french_s.test/clang-linux-trunk/debug/v1_french_s" "/scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/v1_french_s.test/clang-linux-trunk/debug/french.o" "/scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/build/clang-linux-trunk/debug/link-static/libboost_chrono.a" "/scratch/kbelco/boost/results/boost/bin.v2/libs/system/build/clang-linux-trunk/debug/link-static/libboost_system.a" -g -lrt /usr/bin/ld: /scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/v1_french_s.test/clang-linux-trunk/debug/v1_french_s: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5' /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation clang: error: linker command failed with exit code 1 (use -v to see invocation) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7542 Trac 1.4.3 viboes Sun, 21 Oct 2012 08:55:29 GMT status changed https://svn.boost.org/trac10/ticket/7542#comment:1 https://svn.boost.org/trac10/ticket/7542#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> I don't know if changing </p> <pre class="wiki">&lt;target-os&gt;linux:&lt;linkflags&gt;"-lrt" </pre><p> by </p> <pre class="wiki">&lt;target-os&gt;linux:&lt;linkflags&gt;"-lrt -lpthread" </pre><p> solves the issue. </p> Ticket viboes Sun, 21 Oct 2012 09:02:36 GMT <link>https://svn.boost.org/trac10/ticket/7542#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7542#comment:2</guid> <description> <p> Committed in trunk revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/81033" title="Chrono: try to manage with ref #7542">[81033]</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 22 Oct 2012 17:17:42 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/7542#comment:3 https://svn.boost.org/trac10/ticket/7542#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.52.0</span> </li> </ul> <p> Committed revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/81046" title="Chrono: Merge [81033]">[81046]</a>. </p> Ticket