Subject: [Boost-bugs] [Boost C++ Libraries] #7946: ICE on Cygwin (gcc 4.5.3) when Phoenix v3 is used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-29 05:14:39
#7946: ICE on Cygwin (gcc 4.5.3) when Phoenix v3 is used
----------------------------------+-----------------------------------------
Reporter: andysem | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost Release Branch | Severity: Problem
Keywords: |
----------------------------------+-----------------------------------------
While building Boost.Log (trunk revision 822) against Boost
(branches/release revision 82662) on Cygwin with gcc 4.5.3 the compilation
fails with the following errors:
{{{
./boost/spirit/home/qi/nonterminal/rule.hpp:184:9: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
}}}
The complete build log is attached. The problem may be related to the fact
that Boost.Log uses Boost.Phoenix v3 for its expressions, so it defines
the BOOST_SPIRIT_USE_PHOENIX_V3 macro while building.
Boost.Log can be checked out from SVN trunk:
svn co https://boost-log.svn.sourceforge.net/svnroot/boost-log/trunk
/boost-log boost-log
The relevant directories have to be put into the Boost tree, then the
library can be compiled with the following command:
{{{
./bjam-cyg.exe -j 8 "cxxflags=-std=gnu++0x" toolset=gcc variant=debug
target-os=cygwin logapi=unix threading=multi threadapi=pthread link=shared
runtime-link=shared --with-log stage
}}}
where bjam-cyg.exe is bjam built under Cygwin. The problem is also present
without the -std=gnu++0x switch.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7946> 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:11 UTC