public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building gcc using OpenEmbedded problems
@ 2012-01-13 10:02 Trevor Hickey
  0 siblings, 0 replies; only message in thread
From: Trevor Hickey @ 2012-01-13 10:02 UTC (permalink / raw)
  To: gcc-help

Hello,

I am using OpenEmbedded to build a toolchain for an embedded system
and am running into trouble when it comes to building gcc.

Bitbake/OpenEmbedded config:
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 output:

/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 have been unsuccessful trying to solve this problem so far, so if
anyone knows what could be causing it, any help would be appreciated.
I'm sorry if this is not the place to be asking this, but it looks
like a gcc compilation issue rather than an OpenEmbedded/Bitbake
issue.

Trevor Hickey

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-12 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 10:02 Building gcc using OpenEmbedded problems Trevor Hickey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).