[Boost-bugs] [Boost C++ Libraries] #8448: thread library needs linking against -lrt

Subject: [Boost-bugs] [Boost C++ Libraries] #8448: thread library needs linking against -lrt
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-16 13:35:13


#8448: thread library needs linking against -lrt
------------------------------------------------------+---------------------
 Reporter: Maciej SokoÅ‚owski <matemaciek@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.53.0
 Severity: Problem | Keywords:
------------------------------------------------------+---------------------
 I have a similar problem to one described here:
 http://stackoverflow.com/questions/14835605/linking-with-gcc-fails-after-
 switching-boost-version-from-1-52-to-1-53

 I'm able to fix it by adding -lrt in my build system, but I guess it's a
 bug in boost build system - if boost needs -lrt, it should have been
 already linked against it, right?

 I build boost like this:
 {{{
 ./bootstrap.sh --without-icu
 ./b2 toolset=gcc variant=release link=static threading=multi runtime-
 link=shared --with-system --with-filesystem --with-test --with-thread
 --prefix=/some/path install
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8448>
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:12 UTC