perf makes use of `bfd_get_section_vma` and friends which got renamed in binutils-2.34. Hence link failures after upgrading world. #707898 tracks this. Needs backporting to older perf versions as well. Reproducible: Always Steps to Reproduce: 1. emerge -1 '>=sys-devel/binutils-libs-2.34' 2. emerge dev-util/perf Actual Results: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: perf-in.o: in function `find_address_in_section': /tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/util/srcline.c:200: undefined reference to `bfd_get_section_flags' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/util/srcline.c:204: undefined reference to `bfd_get_section_vma' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/portage/dev-util/perf-5.4.7/work/linux-5.4/tools/perf/util/srcline.c:205: undefined reference to `bfd_get_section_size' collect2: error: ld returned 1 exit status make[1]: *** [Makefile.perf:609: perf] Error 1 Expected Results: Software installs successfully.
Problematic version of perf is long gone.