On 22.01.2014 11:29, Antony Polukhin wrote:
../../../bin.v2/libs/variant/perf/move_perf.test/gcc-4.6/ release/link-static/move_perf.o: In function `scope::~scope()': move_perf.cpp:(.text._ZN5scopeD2Ev[_ZN5scopeD5Ev]+0x1b): undefined reference to `clock_gettime'
That's because the above build is not threading=multi, it's just single threaded build. I think that the 'rt' library is not actually threading, it has some timer stuff, so if chrono needs to use such timer stuff specifically, there's nothing extremely wrong about specifying that separately.
- Volodya
Great thanks for the explanations! Then please merge the proposed patch.
Pushed to develop: https://github.com/boostorg/build/commit/31cfa99489a835dfac59a1ca807ca9de9a1... Let me know whether it improves the situation in practice. Thanks, Volodya