Christian Morales Vega escribió:
! Someone has looked the problem in detail?
Yes, I have looked into this a bit.
Is memory usage or startup time notably increased because of this?
I dont have any numbers, sorry.
end like *unneeded* "requires" in RPM metadata, correct?
Right.
There are some cases where the number is *really* high.
Yes.
There are easy solutions?
No, not that Im aware of. I suppose that if right now all packages
aren't built with -Wl,--as-needed is because that would break a lot of things.
Currenlty an rpmlint check is being done to report this excess of dependencies, but there are many possible causes. a) libtool "la" files and/or libtool itself that still sets link_all_deplibs=yes or link_all_deplibs=unknown instead of "no". in short , libtool is broken, but that aint big news. b) broken pkg-config scripts that does not distinguish between "Libs" and "Libs.private" there is a HUGE LOT of them, I fixed several , but for a single person is waay to much work. c) Broken foobar-config scripts that used with the --libs option injects unneeded dependencies, probably this scripts are not worth the hassle, we should just remove them if possible. d) We cannot use -Wl,--as-needed everywhere, because there are A LOT of packages that use a wrong linking order in Makefiles or simple dont obey LDFLAGS. If you have patches or good suggesstions on how to solve this problems for specific packages please open separate bug reports for each component. Thanks. -- "Freedom of religion also means freedom **from** religion" - Anonymous Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/