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. -- ldv