
Adam Wulkiewicz
Vicente J. Botet Escriba wrote:
Le 11/01/15 10:59, Vicente J. Botet Escriba a écrit :
Hi, ... Do you have an idea how this can be fixed?
With the help of one of the Boost.Test maintainers, I have reached to fix the issues. Boost.Thread was requesting to link static while Boost.Time didn't.
Does this change caused undefined reference linker errors (symbols from System, Test, Chrono) in regression tests for the latest runs?
http://www.boost.org/development/tests/develop/developer/output/Sandia-gcc-4...
...
If the answer was yes, then should the Jamfiles be somehow modified?
Hi, No the problem generated a compile-time failure as, by the chain of dependencies, it turned out that static and dynamic link to boost.system was requested. The faulty part was an explicit link to the static version of boost.test in the jamfile while compiling the shared variant. Since both boost.thread and boost.test depend on chrono (boost.thread directly and boost.test through timer), it ended up to a clash for the shared variant tests of boost.thread. See https://github.com/boostorg/test/commit/1eaffb96ceec82882a4e947c99735a37271c... and https://github.com/boostorg/thread/pull/38 for further information and also for the explanation of why the source files should be changed.
Regards, Adam
Best, Raffi