23 Apr
2008
23 Apr
'08
21:51
2008/4/23 Cristian Rodríguez:
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 they ignore LDFLAGS there is no improvement, but neither is worse. Adding the option to a package that right know works could make it unbuildable. But can be that even if the package still builds the programs stop working properly? If it's just some packages stopping building... perhaps forcing the option could be a good way to make mantainers aware of the problem so they can fix it.
If you have patches or good suggesstions on how to solve this problems for specific packages please open separate bug reports for each component.
Ok.