On Sat, Aug 4, 2018 at 12:53 PM <mcatanzaro@xxxxxxxxx> wrote: > > On Thu, Aug 2, 2018 at 4:57 AM, Jakub Jelinek <jakub@xxxxxxxxxx> wrote: > > Changing the behavior of say -lpthread on the command line is a bad > > idea, > > many projects really expect it to mean that the mentioned library is > > linked > > in and if it no longer does, it causes silent breakage. Forcing > > users to do > > -Wl,--push-state,--no-as-needed ... -Wl,--pop-state > > whenever they really mean to link some library is too hostile. > > My understanding is that at least Debian and SUSE have defaulted to > --as-needed for years, and probably more distros do as well... so > presumably most problems should have been shaken out already. Is anyone > familiar with the status of --as-needed in other distributions? > > If Fedora and RHEL are the only major distros that are different, then > that argues in favor of adopting this change, so that developers using > Fedora don't accidentally write programs that are broken on other > distributions. I know I've been stung by this in the past, when an > application I developed on Fedora failed to link on Debian.... > Mageia/Mandriva has defaulted to --as-needed for many years (at least since 2010), and SUSE changed to this in openSUSE 13.1 (I think). Debian did it around the same time as SUSE, I believe. Today, Fedora is the outlier for this in not having it switched on. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/MAOUMANZDD3FMPWOQB3BZGKEFI7MFRVQ/