Package: gcc-3.3 Version: 1:3.3.3ds6-6 Severity: important gcc-3.3 segfaults on m68k when trying to build certain kernel drivers in linux-2.4.26 (and below). For this reason 2.4 kernels on m68k currently have to be built with gcc-2.95.
gcc-3.3 -v -save-temps -D__KERNEL__ -I/home/cts/build/2.4.26/kernel-headers-2.4.26-m68k-2.4.26/kernel-source-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd -c ide-cd.c gcc-3.3: warning: -pipe ignored because -save-temps specified Reading specs from /usr/lib/gcc-lib/m68k-linux/3.3.3/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-sjlj-exceptions --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc m68k-linux Thread model: posix gcc version 3.3.3 (Debian 20040401) /usr/lib/gcc-lib/m68k-linux/3.3.3/cc1 -E -quiet -nostdinc -v -I/home/cts//build/2.4.26/kernel-headers-2.4.26-m68k-2.4.26/kernel-source-2.4.26/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__ELF__ -Dunix -Dmc68000 -Dmc68020 -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__mc68000__ -D__mc68020__ -D__gnu_linux__ -D__linux__ -D__unix -D__mc68000 -D__mc68020 -D__linux -Asystem=unix -Asystem=posix -Acpu=m68k -Amachine=m68k -D__HAVE_68881__ -D__KERNEL__ -DKBUILD_BASENAME=ide_cd -iwithprefix include ide-cd.c -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -fno-strength-reduce -ffixed-a2 -O2 ide-cd.i #include "..." search starts here: #include <...> search starts here: /home/cts/build/2.4.26/kernel-headers-2.4.26-m68k-2.4.26/kernel-source-2.4.26/include /usr/lib/gcc-lib/m68k-linux/3.3.3/include End of search list. /usr/lib/gcc-lib/m68k-linux/3.3.3/cc1 -fpreprocessed ide-cd.i -quiet -dumpbase ide-cd.c -auxbase ide-cd -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -version -fno-strict-aliasing -fno-common -fomit-frame-pointer -fno-strength-reduce -ffixed-a2 -o ide-cd.s GNU C version 3.3.3 (Debian 20040401) (m68k-linux) compiled by GNU C version 3.3.3 (Debian 20040401). GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=15856 ide-cd.c: In function de_cdrom_dump_status': ide-cd.c:619: internal compiler error: in verify_local_live_at_start, at flow.c:601 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. The requested files are available at: http://master.debian.org/~cts/gcc/ I've built an i386 -> m68k crosscompiler with gcc-3.3 (toolchain-source 3.3-2) which gives the same ICE with the same source file. Christian