Bug#242157: gcc-3.3: ICE while compling linux 2.6.5
Package: gcc-3.3
Version: 1:3.3.3-6
Severity: important
Downloaded and compiled the (well attempted to) latest Linux 2.6.5
kernel. Interestingly running make a second time means it doesn't ICE.
[...]
CC [M] drivers/message/i2o/i2o_config.o
CC [M] drivers/message/i2o/i2o_block.o
drivers/message/i2o/i2o_block.c: In function `i2ob_del_device':
drivers/message/i2o/i2o_block.c:1493: warning: `MOD_DEC_USE_COUNT' is
deprecated (declared at include/linux/module.h:527)
CC [M] drivers/message/i2o/i2o_proc.o
drivers/message/i2o/i2o_proc.c: In function
`i2o_proc_read_lan_media_operation':
drivers/message/i2o/i2o_proc.c:2492: 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.
make[3]: *** [drivers/message/i2o/i2o_proc.o] Error 1
make[2]: *** [drivers/message/i2o] Error 2
make[1]: *** [drivers/message] Error 2
make: *** [drivers] Error 2
akumria@clam [~/Projects/linux/linux-2.6.5] $ 505 make
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CC [M] drivers/message/i2o/i2o_proc.o
LD drivers/misc/built-in.o
CC drivers/net/mii.o
CC drivers/net/Space.o
CC drivers/net/net_init.o
Annoyingly when I 'make clean; make V=1' to get the full command line
the ICE is in another location:
gcc -Wp,-MD,drivers/telephony/.ixj.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -O2 -DMODULE -DKBUILD_BASENAME=ixj
-DKBUILD_MODNAME=ixj -c -o drivers/telephony/ixj.o
drivers/telephony/ixj.c
drivers/telephony/ixj.c: In function `ixj_selfprobe':
drivers/telephony/ixj.c:7223: internal compiler error: Segmentation
fault
Please submit a full bug report,
The core file generated doesn't have any useful symbols. Once again,
re-running make results in success in building with no ICE. My initial
assumption was a memory problem by a weekend of memtest86 results in no
problems.
Regards,
Anand
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=C, LC_CTYPE=C
Versions of packages gcc-3.3 depends on:
ii binutils 2.14.90.0.7-6 The GNU assembler, linker and bina
ii cpp-3.3 1:3.3.3-6 The GNU C preprocessor
ii gcc-3.3-base 1:3.3.3-6 The GNU Compiler Collection (base
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.3-6 GCC support library
-- no debconf information
Reply to: