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
|
Details
Description: 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
Comment by
Leonidas Spyropoulos (inglor) -
Wednesday, 11 July 2018, 07:41 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.
Thanks Doug, missed the hardlink bit! I'll use the compiler
options, cheers!