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
F175464700: D18340.diff
Sun, Oct 11, 1:36 AM
Unknown Object (File)
Fri, Oct 9, 4:07 PM
Unknown Object (File)
Wed, Oct 7, 9:54 PM
Unknown Object (File)
Wed, Sep 30, 9:10 AM
Unknown Object (File)
Mon, Sep 21, 11:05 PM
Unknown Object (File)
Mon, Sep 21, 10:10 AM
Unknown Object (File)
Aug 15 2026, 4:49 PM
Unknown Object (File)
Aug 9 2026, 2:29 PM
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.