ICE in set_designator, during kernel build

Jeff Garzik jgarzik@mandrakesoft.com
Wed Jan 17 05:25:00 GMT 2001


platform: i686-pc-linux-gnu, CVS-latest egcs
compiling: Linux kernel

After reverting Richard Kenner's patch as mentioned on gcc-bugs (which
allowed gcc to bootstrap) I tried building a kernel.  It failed on
linux/lib/brlock.c (brlock.i.bz2 attached) in kernel version 2.4.1-pre8.


/g/egcs/bin/gcc -D__KERNEL__ -I/spare/cvs/linux_2_4/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686    -c -o brlock.o brlock.c
brlock.c:21: Internal compiler error in set_designator, at
c-typeck.c:5570
Please submit a full bug report.
 See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[2]: *** [brlock.o] Error 1
make[2]: Leaving directory `/spare/cvs/linux_2_4/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/spare/cvs/linux_2_4/lib'
make: *** [_dir_lib] Error 2
[jgarzik@rum linux_2_4]$ cd lib
[jgarzik@rum lib]$ /g/egcs/bin/gcc -v -save-temps -D__KERNEL__
-I/spare/cvs/linux_2_4/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686    -c -o brlock.o brlock.c
gcc: Warning: -pipe ignored because -save-temps specified
Reading specs from /g/egcs/lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
Configured with: /g/cvs/egcs/configure --prefix=/g/egcs --enable-threads
--enable-languages=c
gcc version 2.97 20010117 (experimental)
 /g/egcs/lib/gcc-lib/i686-pc-linux-gnu/2.97/cpp0 -lang-c -v
-I/spare/cvs/linux_2_4/include -D__GNUC__=2 -D__GNUC_MINOR__=97
-D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__
-D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__
-D__STDC_HOSTED__=1 -Wall -Wstrict-prototypes -Acpu=i386 -Amachine=i386
-Di386 -D__i386 -D__i386__ -D__i686 -D__i686__ -D__pentiumpro
-D__pentiumpro__ -D__tune_i686__ -D__tune_pentiumpro__ -D__KERNEL__
brlock.c brlock.i
GNU CPP version 2.97 20010117 (experimental) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
 /spare/cvs/linux_2_4/include
 /g/egcs/lib/gcc-lib/i686-pc-linux-gnu/2.97/include
 /g/egcs/i686-pc-linux-gnu/include
 /usr/include
End of search list.
 /g/egcs/lib/gcc-lib/i686-pc-linux-gnu/2.97/cc1 -fpreprocessed brlock.i
-quiet -dumpbase brlock.c -mpreferred-stack-boundary=2 -march=i686 -O2
-Wall -Wstrict-prototypes -version -fomit-frame-pointer
-fno-strict-aliasing -o brlock.s
GNU CPP version 2.97 20010117 (experimental) (cpplib) (i386 Linux/ELF)
GNU C version 2.97 20010117 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 2.97 20010117 (experimental).
brlock.c:21: Internal compiler error in set_designator, at
c-typeck.c:5570
Please submit a full bug report.
 See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
brlock.i.bz2
config.bz2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: brlock.i.bz2
Type: application/x-bzip2
Size: 40983 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010117/204e6820/attachment.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.bz2
Type: application/x-bzip2
Size: 4552 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010117/204e6820/attachment-0001.bz2>


More information about the Gcc-bugs mailing list