[oe] meta-toolchain-qte failing on gcc-cross-sdk_4.5.bb for mini6410

Trevor Hickey trevorhickey3 at gmail.com
Thu Jan 12 19:14:48 UTC 2012


Hello,

I have been trying to bitbake meta-toolchain-qte for the mini6410 and have
been stuck on this linker problem.

Here is my build configuration.

Build Configuration:
BB_VERSION        = "1.10.2"
METADATA_BRANCH   = "master"
METADATA_REVISION = "8e7ed36"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "mini6410"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v2012.01"
TARGET_FPU        = "hard"

I followed the instructions on
http://www.openembedded.org/wiki/Getting_started to set up my OpenEmbedded
environment.

Here is the error:

/home/balute/tmp/sysroots/i686-linux/usr/armv6/arm-angstrom-linux-gnueabi/bin/ld:
error: emutls_s.o uses VFP register arguments, ./libgcc_s.so.1.tmp does not

/home/balute/tmp/sysroots/i686-linux/usr/armv6/arm-angstrom-linux-gnueabi/bin/ld:
failed to merge target specific data of file emutls_s.o

/home/balute/tmp/sysroots/i686-linux/usr/armv6/arm-angstrom-linux-gnueabi/bin/ld:
error:
/home/balute/tmp/work/i686-armv6-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.5-r38.2+svnr170880/gcc-4_5-branch/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/crtendS.o
uses VFP register arguments, ./libgcc_s.so.1.tmp does not

/home/balute/tmp/sysroots/i686-linux/usr/armv6/arm-angstrom-linux-gnueabi/bin/ld:
failed to merge target specific data of file
/home/balute/tmp/work/i686-armv6-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.5-r38.2+svnr170880/gcc-4_5-branch/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/crtendS.o

collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory
`/home/balute/tmp/work/i686-armv6-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.5-r38.2+svnr170880/gcc-4_5-branch/build.i686-linux.arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory
`/home/balute/tmp/work/i686-armv6-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.5-r38.2+svnr170880/gcc-4_5-branch/build.i686-linux.arm-angstrom-linux-gnueabi'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function do_compile failed

Full output is here: http://pastebin.com/bbZtFQkp

The "VFP register arguments" and "failed to merge target" errors occur
repeatedly.

I've tried adding -mfpu=vfp -mfloat-abi=softfp to the configuration, as
well as --with-float=soft. I have tried everything else I can think of, but
to no avail. I am new to using OpenEmbedded and could really use some help
with this error.

Trevor Hickey



More information about the Openembedded-devel mailing list