This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/4831: kerlen compilation error.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/4831: kerlen compilation error.
- From: niki_iv at dir dot bg
- Date: 8 Nov 2001 10:00:37 -0000
- Reply-To: niki_iv at dir dot bg
>Number: 4831
>Category: c
>Synopsis: kerlen compilation error.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 08 02:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: linux kernel 2.4.14
>Release: unknown-1.0
>Organization:
>Environment:
Red hat 7.1
>Description:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.14/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -c -o 8139too.o 8139too.c
8139too.c: In function `netdev_ethtool_ioctl':
8139too.c:2432: Unrecognizable insn:
(insn/i 618 1061 1058 (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 [165])
(mem:SI (plus:SI (reg/f:SI 6 ebp)
(const_int -352 [0xfffffea0])) 0)
(mem/s:SI (plus:SI (reg:SI 0 eax [173])
(const_int 12 [0xc])) 0)
]
[
(asm_input:SI ("1"))
(asm_input:SI ("g"))
(asm_input:SI ("g"))
] ("/usr/src/linux-2.4.14/include/asm/uaccess.h") 558))
(set (reg/v:SI 1 edx [165])
(asm_operands:SI ("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0") ("=r") 1[
(reg/v:SI 1 edx [165])
(mem:SI (plus:SI (reg/f:SI 6 ebp)
(const_int -352 [0xfffffea0])) 0)
(mem/s:SI (plus:SI (reg:SI 0 eax [173])
(const_int 12 [0xc])) 0)
]
[
(asm_input:SI ("1"))
(asm_input:SI ("g"))
(asm_input:SI ("g"))
] ("/usr/src/linux-2.4.14/include/asm/uaccess.h") 558))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 604 (insn_list 611 (nil)))
(nil))
8139too.c:2432: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8364
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [8139too.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.14/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.14/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.14/drivers'
make: *** [_dir_drivers] Error 2
>How-To-Repeat:
just try to compile kernel with driver for RealTek 8139 in it
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: