c/4689: internal compiler error in rtl8139.c
burian@muenster.de
burian@muenster.de
Thu Oct 25 16:28:00 GMT 2001
>Number: 4689
>Category: c
>Synopsis: Internal compiler error in file drivers/net/8139too.c while compiling linux kernel 2.4.13
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Oct 25 16:26:29 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Markus Blank-Burian
>Release: 3.0.1
>Organization:
>Environment:
System: Linux 2.4.10 #1 Sat Oct 13 23:42:59 CEST 2001 i686 unknown
Architecture: i686
Pentium III 600MHz
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr
>Description:
The internal compiler error occurs while compiling linux kernel 2.4.13 with the device driver for the realtek 8139 network interface card included. in my case, i compiled the driver as module.
>How-To-Repeat:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.10/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.10/include/linux/modversions.h -c -o 8139too.o 8139too.c
8139too.c: In function `netdev_ethtool_ioctl':
8139too.c:2432: Unrecognizable insn:
(insn/i 621 1064 1061 (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.10/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.10/include/asm/uaccess.h") 558))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 607 (insn_list 614 (nil)))
(nil))
8139too.c:2432: 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.
make[2]: *** [8139too.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.10/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.10/drivers'
make: *** [_mod_drivers] Error 2
>Fix:
A workaround for the problem is to remove -O2 from the compiler options for this file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list