>Submitter-Id: net >Originator: Andrew Bennetts >Organization: >Confidential: no >Synopsis: 8139too.c:2419: Internal compiler error in >reload_cse_simplify_operands, at reload1.c:8355 >Severity: serious >Priority: >Category: c >Class: >Release: 3.0.2 20010922 (Debian prerelease) (Debian testing/unstable) >Environment: System: Linux frobozz.local 2.4.11-pre3 #1 Thu Oct 4 21:47:23 EST 2001 i686 unknown Architecture: i686
host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux >Description: I am attempting to compile Linux kernel 2.4.12-ac3 (i.e. an Alan Cox patch, not a vanilla kernel). The compilation of the 8139too network card driver fails with this message: bash-2.05$ sudo gcc-3.0 -save-temps -v -D__KERNEL__ -I/usr/src/linux-2.4.12-ac3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.12-ac3/include/linux/modversions.h -c -o 8139too.o 8139too.c gcc-3.0: Warning: -pipe ignored because -save-temps specified Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.2/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux Thread model: posix gcc version 3.0.2 20010922 (Debian prerelease) /usr/lib/gcc-lib/i386-linux/3.0.2/cpp0 -lang-c -v -I/usr/src/linux-2.4.12-ac3/include -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=2 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Wall -Wstrict-prototypes -Wno-trigraphs -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__tune_i686__ -D__tune_pentiumpro__ -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.12-ac3/include/linux/modversions.h 8139too.c 8139too.i GNU CPP version 3.0.2 20010922 (Debian prerelease) (cpplib) (i386 Linux/ELF) ignoring nonexistent directory "/usr/i386-linux/include" #include "..." search starts here: #include <...> search starts here: /usr/src/linux-2.4.12-ac3/include /usr/local/include /usr/lib/gcc-lib/i386-linux/3.0.2/include /usr/include End of search list. /usr/lib/gcc-lib/i386-linux/3.0.2/cc1 -fpreprocessed 8139too.i -quiet -dumpbase 8139too.c -mpreferred-stack-boundary=2 -march=i686 -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -version -fomit-frame-pointer -fno-strict-aliasing -fno-common -o 8139too.s GNU CPP version 3.0.2 20010922 (Debian prerelease) (cpplib) (i386 Linux/ELF) GNU C version 3.0.2 20010922 (Debian prerelease) (i386-linux) compiled by GNU C version 3.0.2 20010922 (Debian prerelease). 8139too.c: In function `netdev_ethtool_ioctl': 8139too.c:2419: Unrecognizable insn: (insn/i 612 1054 1051 (parallel[ (set (reg:SI 6 ebp) (asm_operands:SI ("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0") ("=&r") 0[ (reg/v:SI 1 edx [166]) (mem:SI (plus:SI (reg/f:SI 6 ebp) (const_int -352 [0xfffffea0])) 0) (mem/s:SI (plus:SI (reg:SI 0 eax [174]) (const_int 12 [0xc])) 0) ] [ (asm_input:SI ("1")) (asm_input:SI ("g")) (asm_input:SI ("g")) ] ("/usr/src/linux-2.4.12-ac3/include/asm/uaccess.h") 558)) (set (reg/v:SI 1 edx [166]) (asm_operands:SI ("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0") ("=r") 1[ (reg/v:SI 1 edx [166]) (mem:SI (plus:SI (reg/f:SI 6 ebp) (const_int -352 [0xfffffea0])) 0) (mem/s:SI (plus:SI (reg:SI 0 eax [174]) (const_int 12 [0xc])) 0) ] [ (asm_input:SI ("1")) (asm_input:SI ("g")) (asm_input:SI ("g")) ] ("/usr/src/linux-2.4.12-ac3/include/asm/uaccess.h") 558)) (clobber (reg:QI 19 dirflag)) (clobber (reg:QI 18 fpsr)) (clobber (reg:QI 17 flags)) ] ) -1 (insn_list 598 (insn_list 605 (nil))) (nil)) 8139too.c:2419: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8355 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >How-To-Repeat: >Fix: