Current-Users archive

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

Re: [netbsd-5] internal compiler error when building GENERIC



On Tue, 3 Feb 2009 22:09:46, Jukka Salmi wrote:
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

I did a full make release on 5.0_RC1/i386 last night after bringing in
the scads of pullups that snj@ put in, without error.  I just did a
cvs update again for good measure and manually built GENERIC, and
didn't encounter the problem you're seeing.  I didn't spot anything
different in my output other than that I'm passing -pipe.

#    create  GENERIC/uvm_km.d
mkdep -f uvm_km.d -- -pipe -O2 -ffreestanding -fno-zero-initialized-in-bss -pipe -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../../../../contrib/dev/ath/netbsd -I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string -I../../../../../common/include -I../../../../dist/ipf ../../../../uvm/uvm_km.c

Regards,

Dave




Home | Main Index | Thread Index | Old Index