[devel] Q: --no-copy-dt-needed-entries

Kirill A. Shutemov kirill на shutemov.name
Ср Мар 24 18:24:32 UTC 2010


2010/3/24 Dmitry V. Levin <ldv на altlinux.org>:
> 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.


Подробная информация о списке рассылки Devel