lkml.org 
[lkml]   [1999]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectLinux kernel 2.3.26 build fails with internal compiler error.
Date
Alright, before anyone starts complaining, the linux-kernel list,
gcc-bugs@gcc.gnu.org, and pgcc@delorie.com were ALL sent this, and yes I
know about all the "this compiler bad, that compiler good" stuff. I'm just
the end-luser here, I don't make the compiler or the kernel, I just break
them occasionally.

Attached are the appropriate .i and .s files compressed with gzip, for
whoever wants to have fun with this one.

Here we go...


[1.] One line summary of the problem:

Kernel 2.3.26 compile barfs with an internal compiler error.

[2.] Full description of the problem/report:

Kernel 2.3.26 compile barfs with an internal compiler error.

make[2]: Entering directory `/usr/src/linux/fs'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fom
it-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686
-march=i686 -c -o open.o open.c
open.c: In function `sys_truncate':
open.c:129: internal error--insn does not satisfy its constraints:
(insn:HI 278 319 322 (set (reg:DI 4 %esi)
(if_then_else:DI (le:DI (reg:DI 1 %edx)
(reg:DI 4 %esi))
(reg:DI 1 %edx)
(reg:DI 4 %esi))) 405 {movdicc+2} (insn_list 130 (insn_list 134
(nil)))
(expr_list:REG_DEAD (mem:DI (plus:SI (reg:SI 7 %esp)
(const_int 24)))
(nil)))
../../gcc/toplev.c:1438: Internal compiler error in function fatal_insn
cpp: output pipe has been closed
make[2]: *** [open.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_dir_fs] Error 2


[3.] Keywords (i.e., modules, networking, kernel):

kernel, gcc, pgcc, compiler, internal compiler error, open.c

[4.] Kernel version (from /proc/version):

2.2.13-7mdk from Mandrake 6.1's install/RPM.

[5.] Output of Oops.. message (if applicable) with symbolic information
resolved (see Documentation/oops-tracing.txt)

see [2.] for compile error.

[6.] A small shell script or example program which triggers the
problem (if possible)

n/a

[7.] Environment

Mandrake 6.1 on a Gateway G6-400 (Pentium II/400), 128MB SDRAM.

[7.1.] Software (add the output of the ver_linux script here)

-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux sheryl.womensmusicnews.com 2.2.13-7mdk #1 Wed Sep 15 18:02:18 CEST
1999 i686 unknown
Kernel modules 2.1.121
Gnu C pgcc-2.91.66
Binutils 2.9.1.0.25
Linux C Library 2.1.1
Dynamic linker ldd (GNU libc) 2.1.1
Linux C++ Library 2.9.0
Procps 2.0.2
Mount 2.9w
Net-tools 1.52
Console-tools 0.2.0
Sh-utils 2.0
Sh-utils Parker.
Sh-utils
Sh-utils Inc.
Sh-utils NO
Sh-utils PURPOSE.
Modules Loaded nls_cp437 vfat fat es1371 sound soundcore soundlow
bsd_comp ppp slhc 3c59x nls_iso8859-1

[7.2.] Processor information (from /proc/cpuinfo):

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 5
model name : Pentium II (Deschutes)
stepping : 2
cpu MHz : 397.953649
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36
mmx osfxsr
bogomips : 397.31

[7.3.] Module information (from /proc/modules):

nls_cp437 3580 1 (autoclean)
vfat 11036 1 (autoclean)
fat 32960 1 (autoclean) [vfat]
es1371 25888 0
sound 65240 0 (autoclean) (unused)
soundcore 3748 7 (autoclean) [es1371 sound]
soundlow 304 0 (autoclean) [sound]
bsd_comp 4144 2 (autoclean)
ppp 21036 2 (autoclean) [bsd_comp]
slhc 4468 0 (autoclean) [ppp]
3c59x 18440 1 (autoclean)
nls_iso8859-1 2052 2 (autoclean)

[7.4.] SCSI information (from /proc/scsi/scsi)

no SCSI.

[7.5.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):

I was in X Window System and making through the colorgcc script at the time.

[X.] Other notes, patches, fixes, workarounds:

CC'd to gcc-bugs@gcc.gnu.org

Per their bug report page open.i and open.s are gzipped and attached.

The following is for them:

[root@sheryl fs]#
gcc -v --save-temps -D__KERNEL__ -I/usr/src/linux/include -Wal
l -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -f
no-s
trength-reduce -DCPU=686 -march=i686 -c -o open.o open.c
pgcc: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/specs
gcc version pgcc-2.91.66 19990314 (egcs-1.1.2 release)

/usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/cpp -lang-c -v -I/usr/src/li
nux
/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Di386 -D_
_i38
6__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix
-D__
i386 -D__linux -Asystem(posix) -D__OPTIMIZE__ -Wall -Wstrict-prototypes -Asy
stem
(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpenti
umpr
o -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__KERNEL__ -DCPU=686
ope
n.c open.i
GNU CPP version pgcc-2.91.66 19990314 (egcs-1.1.2 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/src/linux/include
/usr/local/include
/usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/include
/usr/include
End of search list.
/usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.91.66/cc1 open.i -quiet -dumpbase
ope
n.c -march=i686 -O2 -Wall -Wstrict-prototypes -version -fomit-frame-pointer
-fno
-strict-aliasing -fno-strength-reduce -o open.s
GNU C version pgcc-2.91.66 19990314 (egcs-1.1.2 release) (i686-pc-linux-gnu)
com
piled by GNU C version pgcc-2.91.66 19990314 (egcs-1.1.2 release).
open.c: In function `sys_truncate':
open.c:129: internal error--insn does not satisfy its constraints:
(insn:HI 278 319 322 (set (reg:DI 4 %esi)
(if_then_else:DI (le:DI (reg:DI 1 %edx)
(reg:DI 4 %esi))
(reg:DI 1 %edx)
(reg:DI 4 %esi))) 405 {movdicc+2} (insn_list 130 (insn_list 134
(nil
)))
(expr_list:REG_DEAD (mem:DI (plus:SI (reg:SI 7 %esp)
(const_int 24)))
(nil)))
../../gcc/toplev.c:1438: Internal compiler error in function fatal_insn


... here we end.

--
A witty signature and tag line go here, once I make something up.
[unhandled content-type:application/x-gzip][unhandled content-type:application/x-gzip]
\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.259 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site