Page MenuHomeFreeBSD

usr.bin/Makefile: always build ELF Tool Chain strings
ClosedPublic

Authored by emaste on Mar 20 2025, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 12:08 AM
Unknown Object (File)
Nov 25 2025, 10:59 AM
Unknown Object (File)
Nov 20 2025, 10:03 AM
Unknown Object (File)
Nov 8 2025, 1:56 AM
Unknown Object (File)
Nov 3 2025, 7:37 PM
Unknown Object (File)
Nov 2 2025, 4:01 PM
Unknown Object (File)
Oct 24 2025, 3:24 PM
Unknown Object (File)
Oct 21 2025, 1:16 PM
Subscribers

Details

Summary

strings(1) is not conditional on WITH_/WITHOUT_TOOLCHAIN, as it is a small utility that is also useful outside of the toolchain context.

After switching to WITH_LLVM_BINUTILS by default (1cae7121c667), building world with default options and installing WITHOUT_TOOLCHAIN failed, because we would build LLVM's strings but attempt to install ELF Tool Chain's version. Address this by always including ELF Tool Chain strings in non-install make targets.

PR: 285556
Reported by: Michael Butler

Diff Detail

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