om: Khem Raj [mailto:raj.k...@gmail.com]
Sent: 05 July 2016 20:54
To: Chandra Mishra (chanmish)
Cc: Burton, Ross ; yocto@yoctoproject.org
Subject: Re: [yocto] yocto build cross toolchain issue
On Tue, Jul 5, 2016 at 3:06 AM, Chandra Mishra (chanmish)
mailto:chanm...@cisco.com>> wrote:
Th
On Tue, Jul 5, 2016 at 6:10 AM, Daniel. 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-n
>
>
>
>
>
> *From:* Burton, Ross [mailto:ross.bur...@intel.com]
> *Sent:* 05 July 2016 14:59
> *To:* Chandra Mishra (chanmish)
> *Cc:* yocto@yoctoproject.org
> *Subject:* Re: [yocto] yocto build cross toolchain issue
>
>
>
>
>
> On 5 July 2016 at 10:20, Chan
I see, well I didn't know about that, thank you very much for pointing
me that out. :)
2016-07-05 10:24 GMT-03:00 Burton, Ross :
>
> On 5 July 2016 at 14:10, Daniel. wrote:
>>
>> I faced problems with symbols being droped if -l option is passed
>> after -Wl,--as-needed. To circumvent this I chang
On 5 July 2016 at 14:10, Daniel. 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.
>
Note that --as-needed only applies to links specified after the optio
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.
Cheers
2016-07-05 7:16 GMT-03:00 Burton, Ross :
>
> On 5 July 2016 at 11:06, Chandra Mishra (chanmish)
> wrote:
>>
>>
On 5 July 2016 at 11:06, Chandra Mishra (chanmish)
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
ra (chanmish)
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] yocto build cross toolchain issue
On 5 July 2016 at 10:20, Chandra Mishra (chanmish)
mailto:chanm...@cisco.com>> wrote:
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -static -lnsl -lpthread -lm -lrt
/sysroots/corei7-64-poky-li
On 5 July 2016 at 10:20, Chandra Mishra (chanmish)
wrote:
> * -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -static -lnsl -lpthread
> -lm -lrt*
>
> */sysroots/corei7-64-poky-linux/usr/lib/../lib/librt.a(shm_open.o):
> In function `shm_open': *
>
> * PATH>/build/tmp/w