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)
Sun, May 5, 6:29 PM
Unknown Object (File)
Sun, May 5, 5:51 PM
Unknown Object (File)
Apr 20 2024, 3:11 PM
Unknown Object (File)
Apr 19 2024, 4:41 AM
Unknown Object (File)
Apr 19 2024, 4:41 AM
Unknown Object (File)
Apr 19 2024, 4:37 AM
Unknown Object (File)
Apr 15 2024, 1:24 PM
Unknown Object (File)
Apr 9 2024, 10:27 PM

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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24233
Build 23072: arc lint + arc unit

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.