Boost logo

Boost :

Subject: [boost] [log][phoenix][spirit] Cygwin compiler crashes in actor_operator_10.hpp
From: Bernd Prager (bernd_at_[hidden])
Date: 2013-01-28 11:38:12


All,
I am trying to compile the trunk version of Andrey Semashev's great
Boost.Log library in Cygwin 1.7.17 with g++ 4.5.3.

The line that crashes compiling his code is:

$ "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-mthreads -fno-strict-aliasing -ftemplate-depth-1024
  -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1
  -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_LOG_SETUP_BUILDING_THE_LIB=1
  -DBOOST_LOG_USE_NATIVE_SYSLOG=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1
  -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1
  -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO=1
  -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DDATE_TIME_INLINE
  -DNDEBUG -I"." -c -o
"bin.v2\libs\log\build\gcc-4.5.3\release\link-static\threading-multi\formatt
er_parser.o" ./libs/log/src/formatter_parser.cpp

The result is:
...
>> ./libs/log/src/formatter_parser.cpp:447:95: instantiated from here
>> ./boost/phoenix/core/detail/preprocessed/actor_operator_10.hpp:31:2307:
>> internal compiler error: Segmentation fault

Andrey suggests it might be related to the Boost.Spirit parser rather
then Boost.Phoenix.

Could somebody please have a look at this?

Thank you so much,
-- Bernd


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk