Build error of perf


leimaohui
 

Hi,

By latest meta-freescale, perf build failed, the error is as following:

---------------------------------------------
aarch64-ubinux-linux-ld: /ubinux-dev/build-ubinux-armv8-multlib-daily/tmp/work/ubinux_armv8-ubinux-linux/perf/1.0-r9/perf-1.0/bench/epoll-ctl.o:/usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/bench/epoll-ctl.c:38: multiple definition of `runtime'; /ubinux-dev/build-ubinux-armv8-multlib-daily/tmp/work/ubinux_armv8-ubinux-linux/perf/1.0-r9/perf-1.0/bench/epoll-wait.o:/usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/bench/epoll-wait.c:93: first defined here
aarch64-ubinux-linux-ld: /ubinux-dev/ build-ubinux-armv8-multlib-daily/tmp/work/ubinux_armv8-ubinux-linux/perf/1.0-r9/perf-1.0/bench/epoll-ctl.o:/usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/bench/epoll-ctl.c:38: multiple definition of `end'; /ubinux-dev/ /build-ubinux-armv8-multlib-daily/tmp/work/ubinux_armv8-ubinux-linux/perf/1.0-r9/perf-1.0/bench/epoll-wait.o:/usr/src/debug/perf/1.0-r9/perf-1.0/tools/perf/bench/epoll-wait.c:93: first defined here
......
---------------------------------------------

It seems that the repository has to merge the following patch:
https://lkml.org/lkml/2020/3/4/313

Best regards
Lei

Join {meta-freescale@lists.yoctoproject.org to automatically receive all group messages.