Openembedded Core Discussions
 help / color / mirror / Atom feed
* ld problems with relocated toolchain
@ 2012-09-21 14:04 Jack Mitchell
  2012-09-21 14:08 ` Richard Purdie
  2012-09-21 14:52 ` Laurentiu Palcu
  0 siblings, 2 replies; 15+ messages in thread
From: Jack Mitchell @ 2012-09-21 14:04 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

I am currently having issues building my application with the latest 
toolchain.

I have used the new capabilities of it being relocatable to place it 
somewhere sensible and I think this may be what is breaking it. My old 
toolchain in /opt still works perfectly.

The error I receive is:

/home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: 
cannot find crtbegin.o: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [R0005] Error 1

However, crtbeign.o is at the path:

    [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ pwd
/home/jack/Projects/R0005-SDK-210912/sysroots/armv7a-vfp-neon-poky-linux-gnueabi
    [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ find . -name
    crtbegin.o
    ./usr/lib/arm-poky-linux-gnueabi/4.7.2/crtbegin.o
    [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ ls usr/lib
    lib/     libexec/
    [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ ls usr/libexec/
    pt_chown
    [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$


Does anyone have an idea what is the issue here? Why can't it find the 
object file?

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-09-25 14:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21 14:04 ld problems with relocated toolchain Jack Mitchell
2012-09-21 14:08 ` Richard Purdie
2012-09-21 14:23   ` Jack Mitchell
2012-09-21 14:27     ` Zhang, Jessica
2012-09-21 14:35       ` Jack Mitchell
2012-09-21 14:52 ` Laurentiu Palcu
2012-09-21 15:17   ` Jack Mitchell
2012-09-24  2:17     ` Khem Raj
2012-09-24  8:37       ` Jack Mitchell
2012-09-24  8:44         ` Laurentiu Palcu
2012-09-24  8:54           ` Jack Mitchell
2012-09-24 15:28             ` Khem Raj
2012-09-25  8:29               ` Jack Mitchell
2012-09-25 13:41                 ` Khem Raj
2012-09-25 13:58                   ` Jack Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox