...
board/MAI/AmigaOneG3SE/libAmigaOneG3SE.a(ops2.o): In function x86emuOp2_illegal_op':
/home/bill/projects/uboot/amigaone/uboot-amigaone/board/MAI/bios_emulator/scitech/src/x86emu/ops2.c:58: undefined reference to__nldbl_printf'
board/MAI/AmigaOneG3SE/libAmigaOneG3SE.a(ops2.o): In function x86emuOp2_btX_I':
/home/bill/projects/uboot/amigaone/uboot-amigaone/board/MAI/bios_emulator/scitech/src/x86emu/ops2.c:1759: undefined reference to__nldbl_printf'
make: *** [u-boot] Error 1
This seems to come from resolving a printk() call to give an illegal x86 opcode error message. (I've actually seen this error message at runtime, over serial dump, with an ATI Radeon AIW-8500DV card - the one with a firewire port)
Not sure what this is. Perhaps I need to make sure my includes are correct.
Anonymous
Another board that seems to use the emulator in the current uboot master tree is amcc/sequoia board. While a lot has changed since our amigaone branch, I'll try to see what goes well there. The errant lines in our emulator code look unchanged in the current master tree.
You're right, the codes looks unchanged in the U-boot master tree. This must be a tool-chain problem, since my Debian cross-compiler tool-chain compiles U-boot without problems.
I've made a whole new Linux virtual machine, with 32bit Lenny this time instead of 64bit, just to reduce possible issues. Also gave it more disk space.
I now have an /opt/eldk/eldk_init file, which I did not have before. Odd that running it does nto seem to "take", as in I can immediately after do echo $CROSS_COMPILE and get a blank answer, the exports in this script do not seem to affect my environment. Eh, just have to remember and do it by hand. But perhaps I now also have some other things I was previously missing.
I can now build the sequoia board uboot (board/amcc/sequoia) which I could not the other day. I was getting undefined function names for various things like cpu_numcores() at som elinking stage, which seems better today with the new install.
But I still get this error for the AmigaOneG3SE target. :/
I've weeded things down to this command from makefile as cause of this error with eldk
ppc_74xx-ld -Bstatic -T /home/billt/projects/uboot-amigaone/board/MAI/AmigaOneG3SE/u-boot.lds -Ttext 0xfff00000 -n $UNDEF_SYM cpu/74xx_7xx/start.o --start-group lib_generic/libgeneric.a board/MAI/AmigaOneG3SE/libAmigaOneG3SE.a cpu/74xx_7xx/lib74xx_7xx.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /opt/eldk/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m7400/pic -lgcc -Map u-boot.map -o u-boot