
On 1/28/2013 10:14 PM, Michael Caisse wrote:
On 01/28/2013 08:38 AM, Bernd Prager wrote:
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
Hi Bernd -
Where can I find the Boost.Log version you are using? Which Boost version is it being paired with?
Thanks - michael
Michael, I am using the svn repository in both cases and just link the log directories into the boost path: $ svn info ../boost-log/ Path: /home/bernd_prager/Software/boost-log Working Copy Root Path: /home/bernd_prager/Software/boost-log URL: https://boost-log.svn.sourceforge.net/svnroot/boost-log Repository Root: https://boost-log.svn.sourceforge.net/svnroot/boost-log Repository UUID: ab6a8de6-4e00-4c3d-a860-8899c17d353f Revision: 815 Node Kind: directory Schedule: normal Last Changed Author: andysem Last Changed Rev: 815 Last Changed Date: 2013-01-25 13:03:14 -0500 (Fri, 25 Jan 2013) $ svn info ../boost-trunk/ Path: . Working Copy Root Path: /home/bernd_prager/Software/boost-trunk URL: http://svn.boost.org/svn/boost/trunk Repository Root: http://svn.boost.org/svn/boost Repository UUID: b8fc166d-592f-0410-95f2-cb63ce0dd405 Revision: 82625 Node Kind: directory Schedule: normal Last Changed Author: viboes Last Changed Rev: 82624 Last Changed Date: 2013-01-26 11:20:05 -0500 (Sat, 26 Jan 2013) $ file boost/log libs/log boost/log: symbolic link to `/home/bernd_prager/Software/boost-log/trunk/boost-log/boost/log/' libs/log: symbolic link to `/home/bernd_prager/Software/boost-log/trunk/boost-log/libs/log/'