[Bug c/12488] New: gcc fails to compile kernel fork.c (linux-2.4.22.tar.bz2 obtained from ftp://mirror.cse.unsw.edu.au)
cygnus at digitalnut dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 2 00:59:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12488
Summary: gcc fails to compile kernel fork.c (linux-2.4.22.tar.bz2
obtained from ftp://mirror.cse.unsw.edu.au)
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cygnus at digitalnut dot com
CC: gcc-bugs at gcc dot gnu dot org
Exact version:
gcc version 3.3.2 20030908 (Debian prerelease)
System type:
DEC Alpha Multia 166Mhz
GCC options:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -
Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -
mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -nostdinc -iwithprefix include -
DKBUILD_BASENAME=fork -c -o fork.o fork.c --save-temps
Complete command line that triggers the bug;
run from make-kpkg --revision=3:niobium.1.0 kernel_image
Compiler output:
gcc: warning: -pipe ignored because -save-temps specified
fork.c: In function `dup_mmap':
fork.c:144: error: unrecognizable insn:
(insn 59 52 61 0 0x20000cee058 (set (reg/f:DI 82)
(symbol_ref:DI ("@Smmlist_nr"))) -1 (nil)
(expr_list:REG_EQUAL (symbol_ref:DI ("@Smmlist_nr"))
(nil)))
fork.c:144: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed *.i* files:
fork.i
-rw-r--r-- 1 root root 337559 2003-10-02 10:51 fork.i
I can't see an option to attach it on:
http://gcc.gnu.org/bugzilla/enter_bug.cgi
I will send it if you tell me how.
More information about the Gcc-bugs
mailing list