Page MenuHomeFreeBSD

[PPC] Enable build/install of ld.bfd on base
ClosedPublic

Authored by luporl on May 14 2019, 1:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 10:24 PM
Unknown Object (File)
Tue, Oct 14, 11:33 AM
Unknown Object (File)
Aug 21 2025, 12:08 PM
Unknown Object (File)
Aug 1 2025, 6:46 PM
Unknown Object (File)
Jul 24 2025, 10:33 PM
Unknown Object (File)
Jun 21 2025, 5:55 AM
Unknown Object (File)
Jun 15 2025, 9:18 PM
Unknown Object (File)
Jun 14 2025, 11:25 AM

Details

Summary

When using LLVM+clang+lld on PowerPC64, ld.bfd is also needed,
to link 32-bit binaries correctly, as lld support for 32-bit is
still minimal.
This change enables it to be built and installed when lld is used.

Test Plan

A full build and install was performed.
This confirmed that ld.bfd was properly installed and that /usr/bin/ld links to ld.lld when lld is used, as expected.

Diff Detail

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

Event Timeline

luporl added subscribers: alfredo, bdragon.

This looks fine to me. Hoping we can obliterate GNU ld before too long, even on 32-bit.

This revision is now accepted and ready to land.May 20 2019, 3:58 PM
This revision was automatically updated to reflect the committed changes.