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

Bug#242916: gcc-3.3: GCC 3.3 crashes when assembling ARM Linux 2.6.5 kernel

Package: gcc-3.3
Version: 1:3.3.3-6
Severity: normal

GCC 3.3 crashes when performing the following when compiling the 2.6.5 kernel
with RMK's patches (RiscPC target):

gcc -Wp,-MD,arch/arm/boot/compressed/.ll_char_wr.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  
-D__KERNEL__ -Iinclude  -D__ASSEMBLY__ -mlittle-endian -mapcs-32 -D__LINUX_ARM_ARCH__=3 -march=armv3 
-mtune=strongarm110 -msoft-float -Wa,-mno-fpu -traditional   -c -o arch/arm/boot/compressed/ll_char_wr.o 
cc1: 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

The problem appears to be this line:

#define PLD(code...)

On line 55 of include/asm/assembler.h

Work around is to use GCC 2.95 for this file.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: arm (armv5l)
Kernel: Linux 2.4.22-iyonix

Versions of packages gcc-3.3 depends on:
ii  binutils          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: