opensubscriber
   Find in this group all groups
 
Unknown more information…

d : devel@lists.fedoraproject.org 14 January 2010 • 4:20AM -0500

Re: Change to DSO-linking semantics of the compiler
by Jussi Lehtola

REPLY TO AUTHOR
 
REPLY TO GROUP




On Wed, 2010-01-13 at 10:52 -0800, Roland McGrath wrote:
> > ----- "Jussi Lehtola" <jussilehtola@fedo...> wrote:
> > >
> > > So is --as-needed within the current default flags?
> >
> > As far as I know, no. The default will still be --no-as-needed.
>
> That's correct.  This change does not affect --as-needed at all.
>
> > The --as-needed flag will link libraries if
> > A) they define symbols required by object files
> > B) those symbols are still undefined when the library is checked
>
> That's correct.  In other words, the libfoo.so DSO will only be used at
> runtime if the presence of -lfoo at link time actually had any effect on
> what symbols got resolved to what.  But --as-needed is not really apropos
> in this thread.

OK, if RPM picks only the libraries that are actually used in
auto-requires, then there's no connection. Otherwise the situation would
be a whole lot different, since the requires might have some bloat.
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola@fedo...

--
devel mailing list
devel@list...
https://admin.fedoraproject.org/mailman/listinfo/devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.