Page MenuHomeFreeBSD

Extend the Binutils ports to allow deletion of specific tools.
ClosedPublic

Authored by ed on Mar 19 2016, 11:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 17 2024, 5:44 PM
Unknown Object (File)
Nov 14 2023, 12:40 AM
Unknown Object (File)
Oct 29 2023, 10:32 PM
Unknown Object (File)
Oct 29 2023, 10:32 PM
Unknown Object (File)
Oct 29 2023, 10:32 PM
Unknown Object (File)
Oct 28 2023, 6:45 PM
Unknown Object (File)
Sep 25 2023, 3:54 PM
Unknown Object (File)
Sep 14 2023, 1:07 AM
Subscribers

Details

Summary

For CloudABI I slowly want to switch away from certain tools provided by
Binutils. For example, it would be really nice if we could switch from
GNU ld to LLD some time in the future. LLD is not ready yet. Some bug
fixes didn't manage to land into 3.8 and it doesn't support aarch64
properly. There are already some tools that we can use, such as nm,
objdump, size, ar and ranlib.

Introduce a BUREMOVE variable that can be set in Binutils slave ports to
remove specific utilities that are installed by default. There doesn't
seem to be any other elegant way to solve this. Set a bunch of utilities
by default and then extend cloudabi-clang to set up symlinks to the LLVM
versions of the tools.

Test Plan

Seems to work on my system? :-)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Extend the Binutils ports to allow deletion of specific tools..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added a reviewer: bapt.
bapt edited edge metadata.
This revision is now accepted and ready to land.Mar 21 2016, 7:26 PM
This revision was automatically updated to reflect the committed changes.