[OE-core] module.bbclass uses host objdump
James Limbouris
james at digitalmatter.com.au
Tue Apr 17 02:32:00 UTC 2012
Hi,
During module builds I've been getting a lot of errors like this:
make[1]: Entering directory `/home/james/oe/build/tmp-eglibc/sysroots/rica5/kernel'
CC [M] /home/james/oe/build/tmp-eglibc/work/rica5-rica-linux-gnueabi/rt3070-2.5.0.2-r1/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO/os/linux/../../common/crypt_md5.o
CC [M] /home/james/oe/build/tmp-eglibc/work/rica5-rica-linux-gnueabi/rt3070-2.5.0.2-r1/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO/os/linux/../../common/crypt_sha2.o
objdump: /home/james/oe/build/tmp-eglibc/work/rica5-rica-linux-gnueabi/rt3070-2.5.0.2-r1/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO/os/linux/../../common/.tmp_crypt_md5.o: File format is ambiguous
objdump: Matching formats: elf32-littlearm elf32-littlearm-symbian elf32-littlearm-vxworks
objdump: /home/james/oe/build/tmp-eglibc/work/rica5-rica-linux-gnueabi/rt3070-2.5.0.2-r1/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO/os/linux/../../common/.tmp_crypt_sha2.o: File format is ambiguous
objdump: Matching formats: elf32-littlearm elf32-littlearm-symbian elf32-littlearm-vxworks
The modules still seem to build successfully... I had a look at module.bbclass, and it sets CC, LD, and AR manually, rather than setting CROSS_COMPILE, for reasons I don't yet understand.
So I'm not too sure how to go about fixing this. Anyone know why there are special kernel suffixes etc on these tools?
Regards,
James Limbouris
More information about the Openembedded-core
mailing list