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

Bug#178790: gcc: internal error - cpp0 got fatal signal 11 - cc -O3 poll.c from perl5.8.0



Package: gcc
Version: 2:2.95.4-14
Severity: important

I was trying to locally build perl5.8.0 from the source.
The compilation bailed out as follows:

	cp lib/IO/Seekable.pm ../../lib/IO/Seekable.pm
	/home/vassilii/src/perl-5.8.0/miniperl "-I../../lib" "-I../../lib"
	../../lib/ExtUtils/xsubpp  -typemap ../../lib/ExtUtils/typemap  IO.xs >
	IO.xsc && mv IO.xsc IO.c
	cc -c   -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
	-D_FILE_OFFSET_BITS=64 -DDEBIAN -O3   -DVERSION=\"1.20\"
	-DXS_VERSION=\"1.20\" -fpic "-I../.."   IO.c
	cc -c   -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
	-D_FILE_OFFSET_BITS=64 -DDEBIAN -O3   -DVERSION=\"1.20\"
	-DXS_VERSION=\"1.20\" -fpic "-I../.."   poll.c
	cc: Internal compiler error: program cpp0 got fatal signal 11
	make[1]: *** [poll.o] Error 1
	make[1]: Leaving directory `/home/vassilii/src/perl-5.8.0/ext/IO'
	make: *** [lib/auto/IO/IO.so] Error 2

For the record, my cc is indeed gcc 2.95.4-14:
	stalker:~> which cc
	/usr/bin/cc
	stalker:~> ls -l /usr/bin/cc
	lrwxrwxrwx    1 root     root           20 Nov  8 13:27 /usr/bin/cc ->
	/etc/alternatives/cc*
	stalker:~> ls -l /etc/alternatives/cc
	lrwxrwxrwx    1 root     root           12 Nov  8 13:27
	/etc/alternatives/cc -> /usr/bin/gcc*
	stalker:~> dpkg -S /usr/bin/gcc
	gcc: /usr/bin/gcc

When the optimization level is reduced from -O3 to -O2, the problem
doesn't happen. (Debian-shipped perl5.6 is compiled with -O2, apparently
for a reason).

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux stalker.iGuide.co.il 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc depends on:
ii  cpp                    2:2.95.4-14       The GNU C preprocessor.
ii  cpp-2.95               1:2.95.4-11woody1 The GNU C preprocessor.
ii  gcc-2.95               1:2.95.4-11woody1 The GNU C compiler.




Reply to: