[OE-core] ld problems with relocated toolchain

Jack Mitchell ml at communistcode.co.uk
Fri Sep 21 14:35:07 UTC 2012


On 21/09/12 15:27, Zhang, Jessica wrote:
> Jack,
>
> Please open a bug in bugzilla for the issue, since we're in final stage of 1.3, all the issues that need to be addressed need have a bug number associate with it.
>
> Thanks,
> Jessica
>
> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of Jack Mitchell
> Sent: Friday, September 21, 2012 7:23 AM
> Cc: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] ld problems with relocated toolchain
>
> On 21/09/12 15:08, Richard Purdie wrote:
>> On Fri, 2012-09-21 at 15:04 +0100, 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
>>>
>>> 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?
>> Did you have the patches that just merged to master applied? There are
>> a number of relocation issues those just addressed.
>>
>> Cheers,
>>
>> Richard
>>
> If you're talking about the ones from Laurentiu, then yes - I had been waiting for the merge and was hoping that it would fix my issues, but alas it wasn't to be!
>
> Regards,
>
> --
>
>     Jack Mitchell (jack at embed.me.uk)
>     Embedded Systems Engineer
>     http://www.embed.me.uk
>
> --
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

https://bugzilla.yoctoproject.org/show_bug.cgi?id=3156

Thanks!

-- 

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

--





More information about the Openembedded-core mailing list