Subject: [Boost-bugs] [Boost C++ Libraries] #11381: Cross compilation with ARM gcc segmentation fault
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-08 18:40:41
#11381: Cross compilation with ARM gcc segmentation fault
------------------------------------+------------------------------
Reporter: Vijay Pas <vijaypas@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
Severity: Problem | Keywords:
------------------------------------+------------------------------
+ ./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::phoenix::custom_terminal<boost::phoenix::detail::nothing,
void> ()(boost::proto::_value, boost::phoenix::_context)>::impl2<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&,
boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >*>&,
const boost::phoenix::default_actions&, false>â:
./boost/proto/transform/call.hpp:313: instantiated from
âboost::proto::call<boost::phoenix::custom_terminal<boost::phoenix::detail::nothing,
void> ()(boost::proto::_value, boost::phoenix::_context)>::impl<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&,
boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >*>&,
const boost::phoenix::default_actions&>â
./boost/proto/transform/detail/preprocessed/lazy.hpp:84: instantiated
from
âboost::proto::lazy<boost::phoenix::custom_terminal<boost::proto::_value,
void> ()(boost::proto::_value, boost::phoenix::_context)>::impl<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&,
boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >*>&,
const boost::phoenix::default_actions&>â
./boost/proto/transform/when.hpp:194: instantiated from
âboost::proto::when<boost::phoenix::rule::custom_terminal,
boost::proto::external_transform>::impl<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&,
boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >*>&,
const boost::phoenix::default_actions&>â
./boost/proto/matches.hpp:753: instantiated from
âboost::proto::or_<boost::phoenix::enable_rule<boost::phoenix::rule::argument,
void>, boost::phoenix::enable_rule<boost::phoenix::rule::custom_terminal,
void>, boost::phoenix::enable_rule<boost::phoenix::rule::terminal, void>,
void, void, void, void, void, void, void>::impl<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&,
boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >*>&,
const boost::phoenix::default_actions&>â
./boost/proto/matches.hpp:831: instantiated from
âboost::proto::switch_<boost::phoenix::meta_grammar,
boost::proto::tag_of<boost::proto::_> ()()>::impl<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&,
boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >*>&,
const boost::phoenix::default_actions&>â
./boost/phoenix/core/meta_grammar.hpp:66: instantiated from
âboost::phoenix::evaluator::impl<const
boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>&, const
boost::phoenix::vector2<boost::phoenix::vector1<const
boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 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<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >â
./boost/mpl/eval_if.hpp:60: instantiated from
âboost::mpl::eval_if_c<true,
boost::phoenix::result_of::nullary_actor_result<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l> >,
boost::mpl::identity<boost::phoenix::detail::error_expecting_arguments> >â
./boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:38:
instantiated from
âboost::phoenix::result_of::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 0l>, void,
void, void, void, void, void, void, void, void, void, void>â
./boost/phoenix/core/actor.hpp:240: instantiated from
âboost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,
boost::proto::argsns_::term<boost::phoenix::detail::nothing>, 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 <http://bugs.buildroot.net/> for instructions.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11381> 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:18 UTC