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

Alexey Tourbin at на altlinux.ru
Пн Мар 22 13:58:04 UTC 2010


On Mon, Mar 22, 2010 at 01:00:46PM +0200, Kirill A. Shutemov wrote:
> >> gold(1) behaves that way by default. AFAIK, Fedora goes to switch to it later.
> >> So it's one of step of switching.
> >
> > So a good reason to change the default is because of Fedora.  Because
> > they are going to change it, too!  Just not yet.  Maybe next week.
> 
> Alexey, what will we do when Fedora and other major distributions
> switch to gold(1)?

Do they?  https://fedoraproject.org/wiki/GoldLinking -
"may make it default linker in the future", with no schedule.

> We have three options:
> 
> 1. Switch to gold too and fix all regressions in repository including
> indirect linking issues.
> 
> 2. Switch to gold, but add functionality for --copy-dt-needed-entries
> which, probably, will never be upstreamed.

Quite an option.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=10238

> 3. Do not switch to gold and use semi-supported gnu-ld.
> 
> > But as far as I know, Fedora did never enable --as-needed by default.
> > This makes a difference.

By the way, I'm not sure if gold(1) can do the --as-needed thing.
Probably we need to implement it, too.
----------- ????????? ????? -----------
???? ??????? ???????? ?? ? ????????? ???????...
???     : ???????????
???     : application/pgp-signature
??????  : 198 ??????
????????: ???????????
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20100322/f7311d5d/attachment.bin>


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