Page MenuHomeFreeBSD

Do not install GNU ld if lld is /usr/bin/ld
ClosedPublic

Authored by emaste on Nov 26 2018, 2:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 6:51 PM
Unknown Object (File)
Feb 12 2024, 7:21 PM
Unknown Object (File)
Feb 12 2024, 8:17 AM
Unknown Object (File)
Dec 23 2023, 8:52 AM
Unknown Object (File)
Dec 19 2023, 4:25 AM
Unknown Object (File)
Dec 10 2023, 6:58 PM
Unknown Object (File)
Nov 14 2023, 4:17 AM
Unknown Object (File)
Nov 12 2023, 4:25 AM
Subscribers

Details

Summary

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

Reported by: theraven

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Combined with D18307 the only binutils tool installed on amd64, arm64, armv7 will be GNU as.

This revision is now accepted and ready to land.Nov 26 2018, 3:29 PM
This revision was automatically updated to reflect the committed changes.