Subject: trouble compiling arm32 kernels
To: David Brownlee <abs@netbsd.org>
From: Edwin Foo <efoo@crl.dec.com>
List: port-arm32
Date: 04/10/2000 18:28:49
Hello all,

I've been trying to get my CATS board to boot a -current kernel without
success for a while. Originally, it was running 1.4.2, and then I downloaded
a -current source tarball into /usr/src. I then built a -current kernel with
my 1.4.2 toolchain, rebooted, and ran a make build.

The system boots fine with my -current built under 1.4.2 toolchain, but all
subsequent attempts to build a working kernel with a -current toolchain have
failed. Essentially, the boot stops and complains that the kernel format is
wrong (not ZMAGIC). I've tried using -z flags to ld to produce a.out
kernels, and inserted a OBJECT_FMT=a.out line into /etc/mk.conf, then
rebuilt all of /usr/src/gnu and re-installed in an effort to produce a
toolchain that will create working kernels, all without success.

Am I barking up the wrong tree in thinking that issue is elf vs. a.out? Any
assistance would be greatly appreciated.

thanks,
Edwin