Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Cross building from Mac OS X?



Just wondering if anyone else has seen this - after upgrading to
Leopard I can no longer cross build either from HEAD or netbsd-4
branches. Error in consistent, I don't believe anything else has
really changed in my build environment (apart from "just" upgrading
the OS). This is building release on a case-sensitive disk image.

...
[ "work.built" = work.built -a -f ramdisk-big.fs -a ! ramdisk-big.fs -ot 
work.built ]  || {  echo '#  ' " create " ramdisk-big/ramdisk-big.fs;  rm -f 
ramdisk-big.fs ramdisk-big.fs.tmp;  
/Volumes/netbsd/netbsd-4/tools.i386/bin/nbmakefs -t ffs -B le -s 5000k -F 
work.spec  -N /Volumes/netbsd/netbsd-4/src/etc -o bsize=4096,fsize=512  -o 
optimization=space,minfree=0  -f 14 -f 20 ramdisk-big.fs.tmp work  && mv -f 
ramdisk-big.fs.tmp ramdisk-big.fs;  }
#    create  ramdisk-big/ramdisk-big.fs
Calculated size of `ramdisk-big.fs.tmp': 5120000 bytes, 65 inodes
Extent size set to 4096
ramdisk-big.fs.tmp: 4.9MB (10000 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 4.88MB, 1250 blks, 96 inodes.
super-block backups (for fsck -b #) at:
 32,
Populating `ramdisk-big.fs.tmp'
Image `ramdisk-big.fs.tmp' complete
all ===> etc/i386/instkernel
#    create  instkernel/netbsd-INSTALL_LARGE (from: 
/Volumes/netbsd/netbsd-4/obj.i386/Volumes/netbsd/netbsd-4/src/sys/arch/i386/compile/INSTALL_LARGE/netbsd
 
/Volumes/netbsd/netbsd-4/obj.i386/Volumes/netbsd/netbsd-4/src/distrib/i386/ramdisks/ramdisk-big/ramdisk-big.fs)
/Volumes/netbsd/netbsd-4/tools.i386/bin/i386--netbsdelf-mdsetimage -v 
netbsd-INSTALL_LARGE.tmp 
/Volumes/netbsd/netbsd-4/obj.i386/Volumes/netbsd/netbsd-4/src/distrib/i386/ramdisks/ramdisk-big/ramdisk-big.fs
usage: /Volumes/netbsd/netbsd-4/tools.i386/bin/i386--netbsdelf-mdsetimage 
[-svx] [-b bfdname] kernel image
supported targets: elf32-i386 a.out-i386-netbsd elf32-little elf32-big srec 
symbolsrec tekhex binary ihex

*** Failed target:  netbsd-INSTALL_LARGE
...

Kernel file seems to look OK:

...
bash$ file 
/Volumes/netbsd/netbsd-4/obj.i386/Volumes/netbsd/netbsd-4/src/distrib/i386/instkernel/netbsd-INSTALL_LARGE.tmp
/Volumes/netbsd/netbsd-4/obj.i386/Volumes/netbsd/netbsd-4/src/distrib/i386/instkernel/netbsd-INSTALL_LARGE.tmp:
 ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, 
not stripped
...

-- 
Paul Ripke
I love deadlines. I like the whooshing sound they make as they fly by.
-- Douglas Adams


Home | Main Index | Thread Index | Old Index