Subject: Re: gcc fails building a kernel
To: David Wetzel <dave@turbocat.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/12/2005 18:32:28
On Wed, Jan 12, 2005 at 01:06:03AM +0100, David Wetzel wrote:
> hi,
> 
> has somebody seen this too?
> 
> 
> cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
> -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 
> -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DALTQ_PRIQ -DMAXUSERS=64 -D_KERNEL 
> -D_KERNEL_OPT -c ../../../../opencrypto/criov.c
> ./../../../uvm/uvm_extern.h:615: internal compiler error: in walk_tree, at tree-inline.c:1764
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/sys/arch/i386/compile/ALICE
> 
> This is on 2.0/intel 
> 
> When I restart make it continues to work. I have not seen this on other sources than kernels jet.

This kind of random error/core dump is usually a hardware issue: bad RAM,
failing motherboard or CPU
Try running memtest86 from pkgsrc/sysutils/memtest86, or better
memtest86+ from http://www.memtest.org/. Let it run for a few
hours, and see if errors show up.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--