id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11381,Cross compilation with ARM gcc segmentation fault,Vijay Pas ,Andrey Semashev,"+ ./b2 -j 6 --with-atomic --with-log --with-date_time --with-thread --with-filesystem --with-program_options --with-timer --link=static cxxflags=-fPIC -std=c++0x --build-type=minimal toolset=gcc-arm link.jam: No such file or directory Building the Boost C++ Libraries. Performing configuration checks - x86 : no (cached) - arm : yes (cached) - lockfree boost::atomic_flag : yes (cached) Component configuration: - atomic : building - chrono : not building - context : not building - coroutine : not building - date_time : building - exception : not building - filesystem : building - graph : not building - graph_parallel : not building - iostreams : not building - locale : not building - log : building - math : not building - mpi : not building - program_options : building - python : not building - random : not building - regex : not building - serialization : not building - signals : not building - system : not building - test : not building - thread : building - timer : building - wave : not building ...patience... ...patience... ...patience... ...found 3808 targets... ...updating 36 targets... gcc.compile.c++ bin.v2/libs/log/build/gcc-arm/release/build-no/log-api-unix/threading-multi/threadsafe_queue.o In file included from libs/log/src/threadsafe_queue.cpp:32: ./boost/log/detail/spin_mutex.hpp: In constructor ‘boost::log::v2_mt_posix::aux::spin_mutex::spin_mutex()’: ./boost/log/detail/spin_mutex.hpp:198: error: ‘pthread_spin_init’ was not declared in this scope ./boost/log/detail/spin_mutex.hpp: In destructor ‘boost::log::v2_mt_posix::aux::spin_mutex::~spin_mutex()’: ./boost/log/detail/spin_mutex.hpp:205: error: ‘pthread_spin_destroy’ was not declared in this scope ./boost/log/detail/spin_mutex.hpp: In member function ‘bool boost::log::v2_mt_posix::aux::spin_mutex::try_lock()’: ./boost/log/detail/spin_mutex.hpp:210: error: ‘pthread_spin_trylock’ was not declared in this scope ./boost/log/detail/spin_mutex.hpp: In member function ‘void boost::log::v2_mt_posix::aux::spin_mutex::lock()’: ./boost/log/detail/spin_mutex.hpp:220: error: ‘pthread_spin_lock’ was not declared in this scope ./boost/log/detail/spin_mutex.hpp: In member function ‘void boost::log::v2_mt_posix::aux::spin_mutex::unlock()’: ./boost/log/detail/spin_mutex.hpp:227: error: ‘pthread_spin_unlock’ was not declared in this scope ""arm-linux-g++"" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -fPIC -std=c++0x -fno-strict-aliasing -ftemplate-depth-1024 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_DLL -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE -DNDEBUG -I""."" -c -o ""bin.v2/libs/log/build/gcc-arm/release/build-no/log-api-unix/threading-multi/threadsafe_queue.o"" ""libs/log/src/threadsafe_queue.cpp"" ...failed gcc.compile.c++ bin.v2/libs/log/build/gcc-arm/release/build-no/log-api-unix/threading-multi/threadsafe_queue.o... gcc.compile.c++ bin.v2/libs/log/build/gcc-arm/release/build-no/log-api-unix/threading-multi/spirit_encoding.o In file included from ./boost/phoenix/core.hpp:20, from ./boost/spirit/include/phoenix_core.hpp:16, from ./boost/spirit/home/support/terminal.hpp:16, from ./boost/spirit/home/support/common_terminals.hpp:15, from libs/log/src/spirit_encoding.hpp:23, from libs/log/src/spirit_encoding.cpp:18: ./boost/proto/transform/call.hpp: In instantiation of ‘boost::proto::call ()(boost::proto::_value, boost::phoenix::_context)>::impl2, 0l>&, boost::phoenix::vector1, 0l> >*>&, const boost::phoenix::default_actions&, false>’: ./boost/proto/transform/call.hpp:313: instantiated from ‘boost::proto::call ()(boost::proto::_value, boost::phoenix::_context)>::impl, 0l>&, boost::phoenix::vector1, 0l> >*>&, const boost::phoenix::default_actions&>’ ./boost/proto/transform/detail/preprocessed/lazy.hpp:84: instantiated from ‘boost::proto::lazy ()(boost::proto::_value, boost::phoenix::_context)>::impl, 0l>&, boost::phoenix::vector1, 0l> >*>&, const boost::phoenix::default_actions&>’ ./boost/proto/transform/when.hpp:194: instantiated from ‘boost::proto::when::impl, 0l>&, boost::phoenix::vector1, 0l> >*>&, const boost::phoenix::default_actions&>’ ./boost/proto/matches.hpp:753: instantiated from ‘boost::proto::or_, boost::phoenix::enable_rule, boost::phoenix::enable_rule, void, void, void, void, void, void, void>::impl, 0l>&, boost::phoenix::vector1, 0l> >*>&, const boost::phoenix::default_actions&>’ ./boost/proto/matches.hpp:831: instantiated from ‘boost::proto::switch_ ()()>::impl, 0l>&, boost::phoenix::vector1, 0l> >*>&, const boost::phoenix::default_actions&>’ ./boost/phoenix/core/meta_grammar.hpp:66: instantiated from ‘boost::phoenix::evaluator::impl, 0l>&, const boost::phoenix::vector2, 0l> >*>&, boost::phoenix::default_actions>&, boost::proto::envns_::empty_env>’ ./boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:26: instantiated from ‘boost::phoenix::result_of::nullary_actor_result, 0l> >’ ./boost/mpl/eval_if.hpp:60: instantiated from ‘boost::mpl::eval_if_c, 0l> >, boost::mpl::identity >’ ./boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:38: instantiated from ‘boost::phoenix::result_of::actor, 0l>, void, void, void, void, void, void, void, void, void, void, void>’ ./boost/phoenix/core/actor.hpp:240: instantiated from ‘boost::phoenix::actor, 0l> >’ ./boost/phoenix/core/nothing.hpp:57: instantiated from here ./boost/proto/transform/call.hpp:246: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. ",Bugs,closed,To Be Determined,log,Boost 1.55.0,Problem,obsolete,,