[OE-core] ld problems with relocated toolchain
Laurentiu Palcu
laurentiu.palcu at intel.com
Fri Sep 21 14:52:42 UTC 2012
On 09/21/2012 05:04 PM, Jack Mitchell wrote:
> 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
Did this error appear after the latest SDK fixes that were merged today?
Can you activate compiler verbose mode so we can see the arguments
passed to the linker? Does it work if you install in the default
location? Or better, can you tell the exact steps you followed to get
this issue?
Thanks,
Laurentiu
>
> However, crtbeign.o is at the path:
>
> [jack at archHP armv7a-vfp-neon-poky-linux-gnueabi]$ pwd
> /home/jack/Projects/R0005-SDK-210912/sysroots/armv7a-vfp-neon-poky-linux-gnueabi
> [jack at archHP armv7a-vfp-neon-poky-linux-gnueabi]$ find . -name
> crtbegin.o
> ./usr/lib/arm-poky-linux-gnueabi/4.7.2/crtbegin.o
> [jack at archHP armv7a-vfp-neon-poky-linux-gnueabi]$ ls usr/lib
> lib/ libexec/
> [jack at archHP armv7a-vfp-neon-poky-linux-gnueabi]$ ls usr/libexec/
> pt_chown
> [jack at 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?
>
More information about the Openembedded-core
mailing list