Opened 10 years ago
Closed 5 years ago
#7946 closed Bugs (wontfix)
ICE on Cygwin (gcc 4.5.3) when Phoenix v3 is used
Reported by: | Andrey Semashev | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost Release Branch | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (4)
by , 10 years ago
comment:1 by , 10 years ago
Component: | None → spirit |
---|---|
Owner: | set to |
comment:3 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Build log with error messages.