Page MenuHomeFreeBSD

Extend the Binutils ports to allow deletion of specific tools.

Authored by ed on Mar 19 2016, 11:48 PM.



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

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; 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.