2011/4/27 Cristian Rodríguez
El 27/04/11 05:48, Richard Guenther escribió:
On Tue, 26 Apr 2011, Cristian Rodríguez wrote:
El 26/04/11 14:14, Marcus Meissner escribió:
On Tue, Apr 26, 2011 at 02:10:07PM -0300, Cristian Rodríguez wrote:
How does it relate to --as-needed, which we made quite painfully the default already?
That's what Im trying to figure out as well =) not clear to me if it is complementary or mutually exclusive to as-needed.
They are complementary and have similar fallout scenarios.
IMHO, we need both. sure, it may cause some workload, but should be worth it.
If I understood it correctly it's a funny behavior. In the example from Fedora, gcc -o foo1 foo1.o foo2.so -Wl,--rpath-link=. without --no-copy-dt-needed-entries would create a perfectly valid binary. foo1 will have a DT_NEEDED entry for foo3. But if changed to gcc -shared -o foo1.so foo1.o foo2.so -Wl,--rpath-link=. the resulting foo1.so library will miss the DT_NEEDED entry for foo3. So by default DT_NEEDED entries are copied in binaries but no in libraries. So "--no-copy-dt-needed-entries" seems useful for libraries... but it will only make binaries fail to build when they would otherwise be created perfectly correct. To lower the workload, there is some way to use it only in libraries? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org