On 24 Mar 2016, at 06:32, Oliver Kowalke
wrote: how can we deal with that? I don't own a Mac, so I can't test it. I assume it's caused by some configure quirks, e.g. in context/build/Jamfile.v2 evaluates ../../config/checks//cxx11_hdr_mutex. depending on the result of this check, boost.thread is linked or not.
It seems that it doesn’t link to boost::system which is required for boost::thread. Performing configuration checks - 32-bit : no - 64-bit : yes - arm : no - mips1 : no - power : no - sparc : no - x86 : yes Building the Boost C++ Libraries. - symlinks supported : yes - C++11 mutex : yes - lockfree boost::atomic_flag : yes - has_icu builds : no warning: Graph library does not contain MPI-based parallel components. note: to enable them, add "using mpi ;" to your user-config.jam - zlib : yes - iconv (libc) : no - iconv (separate) : yes - icu : no - icu (lib64) : no - compiler-supports-visibility : yes - compiler-supports-ssse3 : yes - compiler-supports-avx2 : no - gcc visibility : yes - long double support : yes warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. - zlib : yes darwin.link.dll bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/libboost_context.dylib Undefined symbols for architecture x86_64: "boost::system::system_category()", referenced from: __GLOBAL__sub_I_stack_traits.cpp in stack_traits.o "boost::system::generic_category()", referenced from: __GLOBAL__sub_I_stack_traits.cpp in stack_traits.o "boost::thread_detail::enter_once_region(boost::once_flag&)", referenced from: boost::context::stack_traits::is_unbounded() in stack_traits.o boost::context::stack_traits::page_size() in stack_traits.o boost::context::stack_traits::default_size() in stack_traits.o boost::context::stack_traits::maximum_size() in stack_traits.o "boost::thread_detail::commit_once_region(boost::once_flag&)", referenced from: boost::context::stack_traits::is_unbounded() in stack_traits.o boost::context::stack_traits::page_size() in stack_traits.o boost::context::stack_traits::default_size() in stack_traits.o boost::context::stack_traits::maximum_size() in stack_traits.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) "g++" -dynamiclib -Wl,-single_module -install_name "libboost_context.dylib" -o "bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/libboost_context.dylib" "bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/asm/make_x86_64_sysv_macho_gas.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/asm/jump_x86_64_sysv_macho_gas.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/asm/ontop_x86_64_sysv_macho_gas.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/posix/stack_traits.o" "bin.v2/libs/context/build/darwin-4.2.1/release/threading-multi/execution_context.o" -headerpad_max_install_names -Wl,-dead_strip -no_dead_strip_inits_and_terms -arch x86_64