I've tried getting the patched binutils 2.8.1 to work...
It seems to work fine until the very end of the process of make netboot.
I took binutils from prep.ai.mit.edu, and applied the patch on unix-ag.org
for binutils. I built it with ./configure --target=linux-mips
binutils built cleanly.
Any idea what I'm doing wrong?
-Tom
----------------------- log from make netboot (trimmed)-----------------
make[1]: Entering directory `/export/kernels/linux-work-dz/arch/mips/tools'
cmp -s offset.h /export/kernels/linux-work-dz/include/asm-mips/offset.h || (cp
offset.h /export/kernels/linux-work-dz/include/asm-mips/offset.h.new && mv
/export/kernels/linux-work-dz/include/asm-mips/offset.h.new
/export/kernels/linux-work-dz/include/asm
-mips/offset.h)
make[1]: Leaving directory `/export/kernels/linux-work-dz/arch/mips/tools'
mipsel-linux-ld -static -G 0 -T arch/mips/ld.script.little -Ttext 0x80040000
arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o init/version.o
\
arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o arch/mips/dec/dec.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a \
arch/mips/lib/lib.a /export/kernels/linux-work-dz/lib/lib.a
arch/mips/dec/prom/rexlib.a \
-o vmlinux
mipsel-linux-nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aU]
\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
make[1]: Entering directory `/export/kernels/linux-work-dz/arch/mips/boot'
mipsel-linux-objcopy --remove-section=.reginfo --remove-section=.mdebug
/export/kernels/linux-work-dz/vmlinux zImage.tmp
./mkboot zImage.tmp zImage
rm -f zImage.tmp
make[1]: Leaving directory `/export/kernels/linux-work-dz/arch/mips/boot'
make[1]: Entering directory `/export/kernels/linux-work-dz/arch/mips/dec/boot'
mipsel-linux-ld -N -G 0 -T ld.ecoff ../../boot/zImage \
dec_boot.o ramdisk.img -o nbImage
../../boot/zImage: file not recognized: File format not recognized
make[1]: *** [netboot] Error 1
make[1]: Leaving directory `/export/kernels/linux-work-dz/arch/mips/dec/boot'
make: *** [netboot] Error 2
|