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)

build.log (78.6 KB ) - added by Andrey Semashev 10 years ago.
Build log with error messages.

Download all attachments as: .zip

Change History (4)

by Andrey Semashev, 10 years ago

Attachment: build.log added

Build log with error messages.

comment:1 by Andrey Semashev, 10 years ago

Component: Nonespirit
Owner: set to Joel de Guzman

comment:2 by Nikita Kniazev <nok.raven@…>, 5 years ago

I believe that it should had been reported to GCC devs.

comment:3 by Joel de Guzman, 5 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.