Subject: cross make release macppc->i386 fails
To: None <current-users@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: current-users
Date: 06/10/2002 13:53:11
Hi,

./build.sh -m i386 -D /local/i386dest -R /local/i386rel

fails with 

all ===> i386/floppies/bootfloppy
Copying /local/i386dest/usr/mdec/biosboot.sym to boot
Copying /local/netbsdsrc-1.6/src/distrib/i386/floppies/kernel-ramdisk/obj.i386/netbsd.INSTALL.gz to netbsd
Creating boot1.fs from: boot  netbsd
PAX=/usr/local/tools/bin/nbpax sh /local/netbsdsrc-1.6/src/distrib/common/buildfloppies.sh  -i "/local/i386dest/usr/mdec/installboot -b 17 -f /local/i386dest/usr/mdec/biosboot.sym @IMAGE@"   -m 2 -s .fs  boot 2880 boot  netbsd
Running instboot: /local/i386dest/usr/mdec/installboot -b 17 -f /local/i386dest/usr/mdec/biosboot.sym floppy.21574.tar
/local/i386dest/usr/mdec/installboot: 1: Syntax error: "(" unexpected
*** Error code 1

Stop.
nbmake: stopped in /local/netbsdsrc-1.6/src/distrib/i386/floppies/bootfloppy
*** Error code 1

Stop.


It's clear that it cannot work since

[power:~]$ file /local/i386dest/usr/mdec/installboot
/local/i386dest/usr/mdec/installboot: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD, statically linked, stripped

my powermac cannot execute i386 executables :-)

regards,
chris