Subject: Can't compile kernel 2.0.2 installation
To: None <netbsd-help@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 09/19/2005 21:35:36
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?

TIA,
Paul
--
I'm beginning to think this free machine is going to become very, VERY expensive!?