Page MenuHomeFreeBSD

packages: rename elftoolchain to toolchain, add more things
ClosedPublic

Authored by ivy on May 10 2025, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 19, 10:02 PM
Unknown Object (File)
Thu, Jun 19, 7:30 PM
Unknown Object (File)
Wed, Jun 18, 3:23 PM
Unknown Object (File)
Mon, Jun 16, 10:14 PM
Unknown Object (File)
Mon, Jun 16, 8:19 PM
Unknown Object (File)
Sat, Jun 14, 6:26 PM
Unknown Object (File)
Wed, May 28, 1:17 AM
Unknown Object (File)
Sun, May 25, 5:41 PM
Subscribers

Details

Summary

rename the existing "elftoolchain" package to "toolchain", and move
everything which is gated by MK_TOOLCHAIN (e.g. lex, yacc, ...) to the
toolchain package.

this means we have one package called "toolchain" which contains all the
development-related utilities which are not compilers or already part of
some other package (e.g., llvm).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.May 10 2025, 6:12 PM

if this lands i will send a heads up to current@ and pkgbase@ since we don't really have a good way to handle adding new packages right now.

emaste added a subscriber: emaste.

I think we may want to eventually support picking one of ELF Tool Chain / llvm-binutils / GNU binutils via installing the appropriate package, but right now this change makes sense. We've switched to installing LLVM's version of most of these tools like nm, addr2line, etc., so the elftoolchain package will be mostly empty. (We build ELFTC's elfcopy because llvm-objcopy doesn't support ELF->PE conversion used by UEFI loader bits).

This revision is now accepted and ready to land.May 21 2025, 2:14 PM