Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#59297 - [binutils] make /usr/bin/ld symlinking to /usr/bin/ld.bfd
Attached to Project:
Arch Linux
Opened by Leonidas Spyropoulos (inglor) - Wednesday, 11 July 2018, 07:02 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 11 July 2018, 07:43 GMT
Opened by Leonidas Spyropoulos (inglor) - Wednesday, 11 July 2018, 07:02 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 11 July 2018, 07:43 GMT
|
DetailsDescription: Currently the /usr/bin/ld and the /usr/bin/ld.bfd are the same file. Since at least another linker (/usr/bin/ld.gold) is included the /usr/bin/ld should be a symlink to one of them. Then one can switch between them as {s}he wish. As a side effect you can save a some MB os size used.
Additional info: * package version(s): 2.30-5 Steps to reproduce: ls -l /usr/bin/ld* |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Wednesday, 11 July 2018, 07:19 GMT
It's a hardlink, so there's no savings to be had. If you want to use a different linker, you tell the build system or compiler to use it, you don't screw with symlinks.
Comment by Leonidas Spyropoulos (inglor) -
Wednesday, 11 July 2018, 07:41 GMT
Thanks Doug, missed the hardlink bit! I'll use the compiler options, cheers!