[yocto] yocto build cross toolchain issue

Khem Raj raj.khem at gmail.com
Tue Jul 5 08:28:06 PDT 2016


On Tue, Jul 5, 2016 at 6:10 AM, Daniel. <danielhilst at gmail.com> wrote:
> I faced problems with symbols being droped if -l option is passed
> after -Wl,--as-needed. To circumvent this I changed my Makefiles to
> add link options prior $(LDFLAGS) expansion.

as Ross said, you managed to avoid the effects of as-needed. As-needed
is good optimization for embedded systems
gentoo has a good article on it if you are interested to learn more on it

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed


>
> Cheers
>
> 2016-07-05 7:16 GMT-03:00 Burton, Ross <ross.burton at intel.com>:
>>
>> On 5 July 2016 at 11:06, Chandra Mishra (chanmish) <chanmish at cisco.com>
>> wrote:
>>>
>>> Thanks Ross for your suggestion. It worked for me. But in the past it
>>> worked for me with old sequence but different gcc cross toolchain, so not
>>> thinking of changing the order.
>>
>>
>> Newer toolchain may have different inter-dependencies, so exposing link
>> order problems that were hidden before.
>>
>> Ross
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
>
> --
> "Do or do not. There is no try"
>   Yoda Master
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list