c/4517: Gcc 3.0.1 failes compiling kernel 2.4.11

connyosis@gmx.net connyosis@gmx.net
Wed Oct 10 05:36:00 GMT 2001


>Number:         4517
>Category:       c
>Synopsis:       Gcc 3.0.1 failes compiling kernel 2.4.11
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 10 05:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anders Lindén
>Release:        gcc version 3.0.1
>Organization:
>Environment:
Slackware 8 with kernel 2.4.10 on AMD K6-2
gcc 3.0.1 configured with --enable-threads
>Description:
When trying to compile kernel 2.4.11 with gcc 3.0.1 I get the error:

2.4.11/include/linux/modversions.h   -DEXPORT_SYMTAB -c parport_pc.c
parport_pc.c: In function `init_module':
parport_pc.c:2920: Unrecognizable insn:
(insn 310 186 188 (parallel[ 
            (set (reg:SI 3 ebx [67])
                (const_int 0 [0x0]))
            (clobber (reg:CC 17 flags))
        ] ) -1 (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
parport_pc.c:2920: 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 instructions.
make[2]: *** [parport_pc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.11/drivers/parport'
make[1]: *** [_modsubdir_parport] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.11/drivers'
make: *** [_mod_drivers] Error 2

This did not occur when using gcc 2.95.3
>How-To-Repeat:
Trying to recompile the kernel makes this error occur every time.
>Fix:

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



More information about the Gcc-bugs mailing list