Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[netbsd-5] internal compiler error when building GENERIC



Hello,

not sure where to post this, but since NetBSD 5 has not been released
yet I think current-users is the right place...

Building a GENERIC kernel on a i386 system reproducibly fails with an
internal compiler error:

$ uname -mrs
NetBSD 5.0_BETA i386
$ config -s /usr/src/sys -b GENERIC /usr/src/sys/arch/i386/conf/GENERIC
Build directory is GENERIC
Don't forget to run "make depend"
$ cd GENERIC
$ make depend all
[...]
#    create  GENERIC/uvm_km.d
mkdep -f uvm_km.d --  -ffreestanding -fno-zero-initialized-in-bss  -O2 
-std=gnu99 -fno-strict-aliasing   -Werror -Wall -Wno-main 
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes 
-Wextra -Wno-unused-parameter  -Werror -march=i486 -mtune=pentiumpro   -Di386 
-I. -I/usr/src/sys/contrib/dev/ath/netbsd -I/usr/src/sys/../common/include 
-I/usr/src/sys/arch  -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL 
-D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string   
-I/usr/src/sys/../common/include -I/usr/src/sys/dist/ipf  
/usr/src/sys/uvm/uvm_km.c
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
mkdep: compile failed.
*** Error code 1
[...]

This is with today's netbsd-5 sources.  I'm seeing the problem on three
different systems (two of which are "real" netbsd-5 systems, and on the third
which runs -current (5.99.5) I build inside a netbsd-5 chroot environment),
thus I'd rule out memory problems...

Is anybody else seeing this as well?


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index