[oe] [RFC] Enable --hash-style=both for all recent gcc4 targets

Koen Kooi k.kooi at student.utwente.nl
Wed Oct 15 11:09:56 UTC 2008


On 15-10-2008 12:43, Leon Woestenberg wrote:
> Hello,
>
> On Wed, Oct 15, 2008 at 10:22 AM, Holger Freyther<zecke at selfish.org>  wrote:
>> Hey guys,
>>
>> I would start linking everything with -Wl,--hash-style=both as this is said to
>> speed up the loading of shared libraries by about 50% (google is your
>>
> If we care about dynamic link speed we should maybe revisit the rpath issue.
>
> I remember seeing strace's where on each .so, 10 attempts were made
> before the right location was attempted.
>
> Actually, it is still on my to do:
>
> http://bugs.openembedded.net/show_bug.cgi?id=2140

Doesn't insane.bbclass log bad rpaths? Or are you talking about spurious 
rpaths that don't point to staging or workdir?
AIUI libtool 2.x should solve a lot of these.

regards,

Koen





More information about the Openembedded-devel mailing list