[PATCH v2 0/4] tools build: Fixes for libbfd -lzstd dependency

Ian Rogers posted 4 patches 2 weeks, 1 day ago
tools/bpf/bpftool/Makefile   |  4 ++++
tools/build/Makefile.feature |  3 ++-
tools/build/feature/Makefile | 12 +++++++++---
tools/objtool/Makefile       |  3 ++-
tools/perf/Makefile.config   |  3 +++
5 files changed, 20 insertions(+), 5 deletions(-)
[PATCH v2 0/4] tools build: Fixes for libbfd -lzstd dependency
Posted by Ian Rogers 2 weeks, 1 day ago
This is a fuller set of patches from v1 addressing build problems
linking with libbfd when zstd is a dependency. The original issue was
exposed on Fedora with perf's build-test. This series separates the
build from the perf changes and adds in bpftool and objtool fixes
caught by Sashiko. The changes follow the pattern used by the zlib -lz
dependency and so appear correct but are untested.

v1: https://lore.kernel.org/linux-perf-users/20260909181030.1870496-1-irogers@google.com/

Ian Rogers (4):
  tools build: Add explicitly sequenced -lzstd to libbfd feature
    fallback
  perf build: Add explicitly sequenced -lzstd to libbfd feature fallback
  bpftool: Add explicitly sequenced -lzstd to libbfd feature fallback
  objtool: Add explicitly sequenced -lzstd to libopcodes fallback

 tools/bpf/bpftool/Makefile   |  4 ++++
 tools/build/Makefile.feature |  3 ++-
 tools/build/feature/Makefile | 12 +++++++++---
 tools/objtool/Makefile       |  3 ++-
 tools/perf/Makefile.config   |  3 +++
 5 files changed, 20 insertions(+), 5 deletions(-)

-- 
2.55.0.1003.g10538fe699-goog