c/4118: internal compiler error when compiling linux kernel

bywang@saul.cis.upenn.edu bywang@saul.cis.upenn.edu
Fri Aug 24 10:56:00 GMT 2001


>Number:         4118
>Category:       c
>Synopsis:       internal compiler error when compiling linux kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 24 10:56:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     bywang@saul.cis.upenn.edu
>Release:        gcc-3.0.1
>Organization:
>Environment:
Linux 2.4.9 + glibc-2.2.3 + K6-500
>Description:
An internal error occurs when compiling Linux kernel. If
I turn off the flag -march=k6, it compiles. Here is the 
transcript:

gcc -D__KERNEL__ -I/mnt/src/linux/include -Wall -Wstrict-pro
totypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-
aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -mar
ch=k6    -DEXPORT_SYMTAB -c signal.c
signal.c: In function `kill_proc':
signal.c:716: Unrecognizable insn:
(insn 134 128 135 (parallel[ 
            (set (reg/f:SI 3 ebx [47])
                (const_int 0 [0x0]))
            (clobber (reg:CC 17 flags))
        ] ) -1 (insn_list:REG_DEP_ANTI 126 (nil))
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
signal.c:716: Internal compiler error in insn_default_length
, at insn-attrtab.c:223
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for inst
ructions.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list