../../../sbuild/sbuild-chroot-config.cc:230: internal compiler error: Segmentation fault

Bug #308834 reported by Steve Kowalik on 2008-12-17
Affects Status Importance Assigned to Milestone
gcc-4.3 (Ubuntu)
schroot (Ubuntu)
Steve Kowalik

Bug Description

Binary package hint: gcc-4.3

Compiling schroot on armel gives an ICE when compiling sbuild-chroot-config.cc with either -O2 or -O1. Compiling it with -O0 does not cause an ICE.

Building it with gcc-4.2 does not produce an ICE, either. schroot is unbuildable with gcc-snapshot since schroot requires boost, and gcc-snapshot does not like the headers boost provides.

Here is the full command line, with warnings and crash:
 arm-linux-gnueabi-g++ -D_GNU_SOURCE -I. -I../../../sbuild -I.. -I../../.. -I/usr/include/uuid -pedantic -Wall -Wcast-align -Wwrite-strings -Wswitch-default -Wcast-qual -Wunused-variable -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wold-style-cast -Woverloaded-virtual -fstrict-aliasing -g -O2 -MT sbuild-chroot-config.lo -MD -MP -MF .deps/sbuild-chroot-config.Tpo -c ../../../sbuild/sbuild-chroot-config.cc -o sbuild-chroot-config.o
../../../sbuild/sbuild-chroot-config.cc: In member function 'void sbuild::chroot_config::add(std::tr1::shared_ptr<sbuild::chroot>&, const sbuild::keyfile&)':
../../../sbuild/sbuild-chroot-config.cc:230: internal compiler error: Segmentation fault

Attached is pre-processed source with gcc-4.3 -E.

Related branches

Steve Kowalik (stevenk) wrote :
Matthias Klose (doko) wrote :

> and gcc-snapshot does not like the headers boost provides

with boost1.36 and boost1.37 as well?

Changed in gcc-4.3:
status: New → Incomplete
Matthias Klose (doko) wrote :

schroot currently builds with -O0; this should be reverted.

Changed in schroot:
assignee: nobody → stevenk
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package schroot - 1.2.1-1ubuntu2

schroot (1.2.1-1ubuntu2) jaunty; urgency=low

  * Revert previous change, build with -O2 everywhere. (LP: #308834)

 -- Steve Kowalik <email address hidden> Wed, 24 Dec 2008 01:38:57 +1100

Changed in schroot:
status: New → Fix Released
Steve Kowalik (stevenk) wrote :

And this built successfully on armel. Weird! Setting gcc-4.3 task to Invalid

Changed in gcc-4.3:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers