Re: Build error of perf
leimaohui
Hi, Yang
The following is the status of linux-qoriq that I'm using:
-------------------------------------
tmp/work-shared/ubinux-armv8/kernel-source$ git branch
* (HEAD detached at 134788b16485)
Master
-------------------------------------
Best regards
Lei
toggle quoted message
Show quoted text
The following is the status of linux-qoriq that I'm using:
-------------------------------------
tmp/work-shared/ubinux-armv8/kernel-source$ git branch
* (HEAD detached at 134788b16485)
Master
-------------------------------------
Best regards
Lei
-----Original Message-----
From: Zhenhua Luo <zhenhua.luo@...>
Sent: Tuesday, September 8, 2020 10:16 AM
To: Lei, Maohui <leimaohui@...>; Andrey Zhizhikin
<andrey.z@...>
Cc: meta-freescale@...
Subject: RE: [meta-freescale] Build error of perf
Hi Lei,
May I know which branch you are using?
Best Regards,
Zhenhua-----Original Message-----ml.org%2Flkml%2F2020%2F3%2F4%2F313&data=02%7C01%7Czhenhua.
From: meta-freescale@... <meta-
freescale@...> On Behalf Of leimaohui via
lists.yoctoproject.org
Sent: Tuesday, September 8, 2020 10:09 AM
To: Andrey Zhizhikin <andrey.z@...>
Cc: meta-freescale@...
Subject: Re: [meta-freescale] Build error of perf
Hi, AndreyI guess you're not building the latest meta-freescale, since theyour tree.
latest version of kernel recipes (linux-fslc and linux-fslc-imx)
contains version v5.4.62. Or it is possible that you're building
linux-imx kernel, in which case you would have to port the patch on
top of
I'm using linux-qoriq and I have updated to the newest commit of meta-
freescale.
Best regards
Lei-----Original Message-----
From: Andrey Zhizhikin <andrey.z@...>
Sent: Monday, September 7, 2020 4:20 PM
To: Lei, Maohui <leimaohui@...>
Cc: meta-freescale@...
Subject: Re: [meta-freescale] Build error of perf
Hello Lei,
On Mon, Sep 7, 2020 at 7:37 AM leimaohui <leimaohui@...>
wrote:linux/perf/1.0-r9/perf-1.0/bench/epoll-ctl.o:/usr/src/debug/perf/1.0
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
-u
bi
nux-linux/perf/1.0-r9/perf-1.0/bench/epoll-ctl.o:/usr/src/debug/pe
rf
/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
-u
bi
nux-linux/perf/1.0-r9/perf-1.0/bench/epoll-wait.o:/usr/src/debug/p
er
f/
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-
-r
9/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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2F
lk
luo%40nxp.com%7C63f43673235e4dd22bc008d8539c24f4%7C686ea1d3bc2b4c6fa9
2cd99c5c301635%7C0%7C0%7C637351277383842133&sdata=Qm7fCOHUJ7J
O3eb2z%2whichBxQ97ke6sGZJRFhjIJfyuMVtSo%3D&reserved=0This is covered by [df35e878d0a51755fb500e2e8e29c7ebb0239756]is present in the kernel tree and came in with v5.4.56.your tree.
I guess you're not building the latest meta-freescale, since the
latest version of kernel recipes (linux-fslc and linux-fslc-imx)
contains version v5.4.62. Or it is possible that you're building
linux-imx kernel, in which case you would have to port the patch on
top of
Best regards
Lei
--
Regards,
Andrey.