[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319328: [m68k] ICE: Segmentation fault with g++-4.0 -O2



Package: g++-4.0
Version: 4.0.1-2
Severity: important

jigdo is failing to build with g++-4.0 on m68k with the following error:

g++ $cxx -c util/rsyncsum.cc -o util/rsyncsum.o
/usr/lib/gcc/m68k-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_bvector.h: In member function 'std::_Bit_type* std::_Bvector_base<_Alloc>::_M_allocate(size_t)':
/usr/lib/gcc/m68k-linux-gnu/4.0.1/../../../../include/c++/4.0.1/bits/stl_bvector.h:389: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[2]: *** [util/rsyncsum.o] Error 1

The full command being executed is

g++ -I. -I. -I./glibcurl -I./gtk -I./job -I./net -I./util \
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H \
-DPACKAGE_DATA_DIR="/usr/share/jigdo/" \
-DPACKAGE_LOCALE_DIR="/usr/share/locale" -DXTHREADS \
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include \
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 \
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -W \
-Wpointer-arith -Wconversion -Woverloaded-virtual -c util/rsyncsum.cc \
-o util/rsyncsum.o

so at least this bug appears to be unrelated to the other -O3 ICEs that
have been reported for m68k.

The unstable chroot on crest still has only g++-3.3 and g++-3.4
installed, with g++-3.3 as the default, so it would be a good idea if an
m68k porter could generate an appropriate test case for this bug.



Reply to: