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

Holger Freyther zecke at selfish.org
Wed Oct 15 21:17:10 UTC 2008


On Wednesday 15 October 2008 10:51:33 Koen Kooi wrote:
> On 15-10-2008 10:22, Holger Freyther 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%
>
> Also check the as-needed stuff from Poky:
>
> ASNEEDED = "-Wl,--as-needed"
> ASNEEDED_pn-console-tools = ""
> ASNEEDED_pn-distcc = ""
> ASNEEDED_pn-openobex = ""
> ASNEEDED_pn-icu = ""
> ASNEEDED_pn-xserver-kdrive-xomap = ""
> ASNEEDED_pn-minimo = ""
> ASNEEDED_pn-pciutils = ""
> ASNEEDED_pn-puzzles = ""
> ASNEEDED_pn-dialer = ""
>
> TARGET_LDFLAGS += "${ASNEEDED}"
>
> That should also reduce library load time *and* eliminate spurious deps.

Thanks. holger/hash-style has my take on that. It attempts to keep the 
enabling to the libc and distro and the blacklist can be shared among 
everyone.

comments? next stop would the hwcaps we have talked about.

z. 




More information about the Openembedded-devel mailing list