summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-11-03 20:30:04 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-11-07 17:31:38 -0300
commita794dc43e25679a0c2ba9019cf46e2b125c85c02 (patch)
tree7afe3f9c8ea38912e2ecfad3f33c22a4c8368914 /tools/perf/scripts/python
parent5a1325cf23a7338f532f808fe79fddadd745dda5 (diff)
perf build: Add explicitly sequenced -lzstd to libbfd feature fallback
Distributions like Fedora ship a statically compiled binutils libbfd that depends on zstd to decompress sections (e.g. undefined reference to 'ZSTD_decompress'). Since libbfd does not reliably distribute a .pc file for pkg-config, perf probes manual linker flag combinations in fallback chains (-lbfd -ldl -liberty -lz). Extend the testing cascade in tools/perf/Makefile.config to check libbfd-liberty-z-zstd and append '-lbfd -lopcodes -liberty -lz -lzstd' when detected. Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions