On Wed, Mar 24, 2010 at 08:24:32PM +0200, Kirill A. Shutemov wrote: > 2010/3/24 Dmitry V. Levin : > > On Sun, Mar 21, 2010 at 06:34:43PM +0300, Dmitry V. Levin wrote: > >> On Sun, Mar 21, 2010 at 05:51:13PM +0300, Alexey Tourbin wrote: > > [...] > >> > So, contrary to the initial message, with --as-needed on, there seems > >> > to be NO REASON to enable --no-copy-dt-needed-entries by default. > >> > >> Just the opposite, there is a reason to link ELF executables with all > >> libraries they use directly.  Applications should be neither overlinked > >> nor underlinked.  The first problem is solved by --as-needed, the second > >> issue will be fixed by enabling --no-copy-dt-needed-entries by default. > > > > I was wrong, --copy-dt-needed-entries does not produce underlinked apps, > > so I withdraw my proposal to change the default from --copy-dt-needed-entries > > to --no-copy-dt-needed-entries. > > Dmitry, what do you think about gold? What will we do if Fedora > switches to gold. If we want to switch to gold too, we have to prepare > for it. --no-copy-dt-needed-entries is one of step of the preparing. I haven't tried gold yet. If it doesn't implement --copy-dt-needed-entries, we could request this feature or just implement it ourselves. -- ldv