Subject: Re: Can't compile kernel 2.0.2 installation
To: Paul Newhouse <newhouse@rockhead.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 09/20/2005 20:08:43
On Mon, Sep 19, 2005 at 09:35:36PM -0700, Paul Newhouse wrote:
> I'm trying to build a kernel with a recent 2.0.2 installation.
> 
> NetBSD pimin.wan.vpn.hsd1.ca.comcast.net. 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005  jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
> 
>   cd ..../conf
>   cp GENERIC Dell
>   vi Dell
>   config Dell
>   cd ../compile/Dell
>   make depend
>   make
> 
> Will fail in various places but, issuing make again
> seems to build that .o.  Eventually, it fails here:
> 
> #   compile  Dell/aic79xx.o
> 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 -DIPSEC_DEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I../../../../dist/ipf -c ../../../../dev/ic/aic79xx.c
> ../../../../dev/ic/aic79xx.c: In function `ahd_handle_pkt_busfree':
> ../../../../dev/ic/aic79xx.c:2102: 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.
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/sys/arch/i386/compile/Dell
> 
> reissuing "make" over and over fails in different functions but,
> eventually it will fail in a function that it failed in earlier.
> Is this a known problem?
> Do I need an upgraded/different compiler?
> What should I be looking at/supplying to the list?

Wow, this looks like hardware issue. Can you run memtest on this box ?

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