* meta-toolchain-qte failing on gcc-cross-sdk_4.5.bb for mini6410
@ 2012-01-12 19:14 Trevor Hickey
2012-01-16 23:06 ` Florian Boor
0 siblings, 1 reply; 3+ messages in thread
From: Trevor Hickey @ 2012-01-12 19:14 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meta-toolchain-qte failing on gcc-cross-sdk_4.5.bb for mini6410
2012-01-12 19:14 meta-toolchain-qte failing on gcc-cross-sdk_4.5.bb for mini6410 Trevor Hickey
@ 2012-01-16 23:06 ` Florian Boor
2012-01-22 2:31 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Florian Boor @ 2012-01-16 23:06 UTC (permalink / raw)
To: openembedded-devel
Hi,
Am 12.01.2012 20:14, schrieb Trevor Hickey:
> I have been trying to bitbake meta-toolchain-qte for the mini6410 and have
> been stuck on this linker problem.
> /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
that's an interesting one - I see the same problem here but have no found a
solution yet. It seems that only ARMv6 architectures are affected since all
other I build (ARMv4, ARMv5TE, ARMv7A, MIPSEL, SH4 and some PPC based ones do
not seem to suffer from this).
Greetings
Florian
--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
http://www.kernelconcepts.de/en
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: meta-toolchain-qte failing on gcc-cross-sdk_4.5.bb for mini6410
2012-01-16 23:06 ` Florian Boor
@ 2012-01-22 2:31 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-01-22 2:31 UTC (permalink / raw)
To: openembedded-devel
On (17/01/12 00:06), Florian Boor wrote:
> Hi,
>
> Am 12.01.2012 20:14, schrieb Trevor Hickey:
> > I have been trying to bitbake meta-toolchain-qte for the mini6410 and have
> > been stuck on this linker problem.
>
> > /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
All those offending objects seems to be generated by calling as
directly.
I think the problem seems to be how your assembler's default is
configured. It seems to me that assembler when called directly generated code for
hardfp calling convention but gcc itself is configured for softfp
calling convention.
can I have a look at one of the offending objects ? say emultls_s.o
secondly can I see at your full build log i.e. log.do_compile.XXXXX
file
>
> that's an interesting one - I see the same problem here but have no found a
> solution yet. It seems that only ARMv6 architectures are affected since all
> other I build (ARMv4, ARMv5TE, ARMv7A, MIPSEL, SH4 and some PPC based ones do
> not seem to suffer from this).
>
> Greetings
>
> Florian
>
>
> --
> The dream of yesterday Florian Boor
> is the hope of today Tel: +49 271-771091-15
> and the reality of tomorrow. Fax: +49 271-771091-19
> [Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
> http://www.kernelconcepts.de/en
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
-Khem
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-22 2:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 19:14 meta-toolchain-qte failing on gcc-cross-sdk_4.5.bb for mini6410 Trevor Hickey
2012-01-16 23:06 ` Florian Boor
2012-01-22 2:31 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.