Get rid of the build dependency on ld.gold in ydbinstall.sh
Final Release Note
Description
Draft Release Note
Get rid of the build dependency on rare ld.gold
in ydbinstall.sh
. This linker builds poorly in the latest versions of binutils. Many distributions do not have it.
It has already been banned in Gentoo, since bug reports are not accepted and the developers of binutils do not support it in upstream.
In my opinion, it is not worth leaving behind a lot of Linux distributive that do not support ld.gold for the sake of winning a few seconds during linking. In the near future, such Linux distributive will be 100%.
As a last resort, I ask you to make the dependency on it non-blocking. So that the regular ld
linker is used.
Here are some links to discussions of errors in ld.gold
in gentoo. This is a distribution where they try to compile the latest versions of utilities.
https://bugs.gentoo.org/934149 https://bugs.gentoo.org/934151 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04d86e2eab73e1bc80940c4cb7630a681172fd1d