On Tuesday 24 of July 2007, Ralf S. Engelschall wrote:
> On Tue, Jul 24, 2007, Jeff Johnson wrote:
> > On Jul 24, 2007, at 3:47 PM, Ralf S. Engelschall wrote:
> >> Yes. And if you spin this thought one step further one ends up with
> >> something like "devtool standalone" or even the OpenPKG bootstrap
> >> package where _ALL_ third-party stuff is locally provided to be maximum
> >> independent of the underlying OS (as one usually never can depend on
> >> anything there except perhaps the existence of /bin/sh ;-)
> >
> > Find an answer for "bloaty", as well as -Wl,-as-needed, and I'm not at
> > all averse to going this way.
>
> Err... what was the issue again in detail with -Wl,--as-needed? I
> know that it was mentioned once on this list, but I've still not 100%
> understood what problem is we are faced with and what is wished as the
> solution here.
Each binary needs to have direct linking with all required libraries.
So if rpm needs neon then it needs -lneon even if it's linked
with -lrpmsomething where rpmsomething is already linked to neon.
http://www.gentoo.org/proj/en/qa/asneeded.xml
> Ralf S. Engelschall
--
Arkadiusz Mi¶kiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
Received on Tue Jul 24 22:33:26 2007