Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847964 - dev-util/perf-5.15-r1 - /.../ld: .../libbpf.a(libbpf-in.o): undefined reference to symbol gzclose
Summary: dev-util/perf-5.15-r1 - /.../ld: .../libbpf.a(libbpf-in.o): undefined referen...
Status: RESOLVED DUPLICATE of bug 839003
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
Depends on:
Reported: 2022-05-28 19:16 UTC by Toralf Förster
Modified: 2023-06-28 02:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge-info.txt (emerge-info.txt,16.81 KB, text/plain)
2022-05-28 19:16 UTC, Toralf Förster
dev-util:perf-5.15-r1:20220528-185454.log.bz2 (dev-util:perf-5.15-r1:20220528-185454.log.bz2,16.22 KB, application/x-bzip)
2022-05-28 19:16 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,55.86 KB, text/plain)
2022-05-28 19:16 UTC, Toralf Förster
environment (environment,126.66 KB, text/plain)
2022-05-28 19:16 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.13 KB, application/x-bzip)
2022-05-28 19:17 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-28 19:16:54 UTC
too long lines were shrinked:

   x86_64-pc-linux-gnu-ld -r -o perf-in.o  builtin-bench.o builtin-annotate.o builtin-config.o builtin-diff.o builtin-evlist.o builtin-ftrace.o builtin-help.o builtin-sched.o builtin-buildid-list.o builtin-buildid-cache.o builtin-kallsyms.o builtin-list.o builtin-record.o builtin-report.o builtin-st
make[2]: Leaving directory '/var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/perf'
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -W
	perf-in.o pmu-events/pmu-events-in.o -Wl,--whole-archive /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/api/libapi.a /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/subcmd/libsubcmd.a /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/perf/libperf.a 
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/bpf/libbpf.a(libbpf-in.o): undefined reference to symbol 'gzclose'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_stable-20220528-120004


gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
php cli:

  HEAD of ::gentoo
commit 76ae7e1b369ca6052cb1f4c381cbc5890eaf341c
Author: Repository mirror & CI <>
Date:   Sat May 28 17:53:31 2022 +0000

    2022-05-28 17:53:30 UTC

emerge -qpvO dev-util/perf
[ebuild  N    ] dev-util/perf-5.15-r1  USE="audit crypt doc unwind -babeltrace -clang -debug -gtk -java -libpfm -lzma -numa -perl -python -slang -systemtap -zlib -zstd" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-05-28 19:16:55 UTC
Created attachment 781289 [details]
Comment 2 Toralf Förster gentoo-dev 2022-05-28 19:16:56 UTC
Created attachment 781292 [details]
Comment 3 Toralf Förster gentoo-dev 2022-05-28 19:16:57 UTC
Created attachment 781295 [details]
Comment 4 Toralf Förster gentoo-dev 2022-05-28 19:16:59 UTC
Created attachment 781298 [details]
Comment 5 Toralf Förster gentoo-dev 2022-05-28 19:17:00 UTC
Created attachment 781301 [details]
Comment 6 Matt Turner gentoo-dev 2023-06-28 02:56:19 UTC

*** This bug has been marked as a duplicate of bug 839003 ***