]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not install GNU ld if lld is /usr/bin/ld
authoremaste <emaste@FreeBSD.org>
Mon, 26 Nov 2018 17:07:35 +0000 (17:07 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 26 Nov 2018 17:07:35 +0000 (17:07 +0000)
commit52f4b8d04ab4297efef3faa6e3af5f890ce3b112
tree0cb0695113cf8d2d49a87069439e9d3e97bd4704
parent6f979330da06138e5b322353a1d8a8daf49df644
Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use.  When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Reported by: theraven
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18340
gnu/usr.bin/binutils/Makefile
tools/build/mk/OptionalObsoleteFiles.inc
tools/build/options/WITHOUT_BINUTILS
tools/build/options/WITH_BINUTILS