The same thing happens to me when I'm trying to rebuild Linux 5.7 kernel
on debian testing.
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wdate-time -D_FORTIFY_SOURCE=2
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf
-I/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf
-isystem /home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/include
-Wbad-function-cast -Wdeclaration-after-statement -Wformat-security
-Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked
-Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef
-Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow
-DHAVE_ARCH_X86_64_SUPPORT
-I/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/arch/x86/include/generated
-DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT
-DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -O6 -fno-omit-frame-pointer -ggdb3
-funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all
-D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/lib/perf/include
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf/util/include
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf/arch/x86/include
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/include/
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/arch/x86/include/uapi
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/include/uapi
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/arch/x86/include/
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/arch/x86/
-I/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf//util
-I/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf/util
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf
-I/home/zanyrain/r7000-dev/linux-5.7.6/tools/lib/
-DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP
-DHAVE_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_GETTID
-DHAVE_FILE_HANDLE -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT
-DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT
-DHAVE_CSTRACE_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT
-DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT
-DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT
-DHAVE_BPF_PROLOGUE -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT
-DNO_LIBUNWIND_DEBUG_FRAME -DHAVE_LIBUNWIND_SUPPORT -DHAVE_SLANG_SUPPORT
-DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_LIBPYTHON_SUPPORT
-DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT
-DHAVE_LIBCAP_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT
-DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32
-DHAVE_LIBBABELTRACE_SUPPORT -DHAVE_AUXTRACE_SUPPORT
-I/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/
-Wl,-z,relro -Xlinker
--dynamic-list=/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/plugins/libtraceevent-dynamic-list
\
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/perf-in.o
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/pmu-events/pmu-events-in.o
-Wl,--whole-archive
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/libapi.a
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/libtraceevent.a
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/libsubcmd.a
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/libperf.a
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/libbpf.a
-Wl,--no-whole-archive -Wl,--start-group -lpthread -lrt -lm -ldl
-lopencsd_c_api -lopencsd -lelf -ldw -lunwind-x86_64 -lunwind -llzma -lslang
-lperl -ldl -lm -lpthread -lc -lcrypt -lpython3.8 -lcrypt -lpthread -ldl -lutil
-lm -lm -lutil -liberty -lz -llzma -lcap -lnuma -lbabeltrace-ctf
-Wl,--end-group -o
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/perf
/usr/bin/ld:/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/plugins/libtraceevent-dynamic-list:2:
ignoring invalid character `@' in script
/usr/bin/ld:/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/plugins/libtraceevent-dynamic-list:2:
ignoring invalid character `@' in script
/usr/bin/ld:/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/plugins/libtraceevent-dynamic-list:2:
syntax error in dynamic list
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile.perf:629:
/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf/perf]
Error 1
make[5]: Leaving directory '/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf'
make[4]: *** [Makefile.perf:225: sub-make] Error 2
make[4]: Leaving directory '/home/zanyrain/r7000-dev/linux-5.7.6/tools/perf'
make[3]: ***
[/home/zanyrain/r7000-dev/linux-5.7.6/debian/rules.d/tools/perf/Makefile:41:
all] Error 2
make[3]: Leaving directory
'/home/zanyrain/r7000-dev/linux-5.7.6/debian/build/build-tools/tools/perf'
make[2]: *** [debian/rules.real:692: build-perf] Error 2
make[2]: Leaving directory '/home/zanyrain/r7000-dev/linux-5.7.6'
make[1]: *** [debian/rules.gen:417: build-arch_amd64_real] Error 2
make[1]: Leaving directory '/home/zanyrain/r7000-dev/linux-5.7.6'
make: *** [debian/rules:33: build-arch] Error 2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887397
Title:
perf build broken after updating to bintuils 2.34.90.20200706-1ubuntu1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887397/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs