linux-qoriq: perf compilation fails after oe-core upgrade
"Maohui Lei (Fujitsu)" <[email protected]> Wed, 25 Mar 2026 08:50:31 +0000
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <TY3PR01MB11056341A0A76558891EE43CBA049A@TY3PR01MB11056.jpnprd01.prod.outlook.com> |
--_000_TY3PR01MB11056341A0A76558891EE43CBA049ATY3PR01MB11056jp_ Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Hi everyone, I'm working with the meta-freescale layer and have a question regarding the= linux-qoriq recipe. I've noticed that the latest version in the master branch is linux-qoriq_6.= 12.bb, which seems to have been in place for a while. Recently, after upgrading my oe-core checkout to a more recent version (e.g= ., glibc 2.43), I've started encountering a build failure. The build fails = specifically when compiling the perf tool, which is part of the linux-qoriq= recipe (perf task). Here is the key error message from the build log: ---------------------------------------------------------- /build/tmp/work/ubinux_1046-ubinux-linux/perf/1.0/sources/perf-1.0/tools/in= clude/uapi -I/datadrive/ubinux/workdir/build-dir/202603/build-ubinux-upstre= am-ubinux-1046/build/tmp/work/ubinux_1046-ubinux-linux/perf/1.0/sources/per= f-1.0/tools/arch/arm64/include -fvisibility=3Dhidden -D_LARGEFILE64_SOURCE = -D_FILE_OFFSET_BITS=3D64 -D"BUILD_STR(s)=3D#s" -c -o /datadrive/ubinux/work= dir/build-dir/202603/build-ubinux-upstream-ubinux-1046/build/tmp/work/ubinu= x_1046-ubinux-linux/perf/1.0/sources/perf-1.0/libbpf/staticobjs/ringbuf.o r= ingbuf.c libbpf.c: In function 'kallsyms_cb': libbpf.c:8171:13: error: assignment discards 'const' qualifier from pointer= target type [-Werror=3Ddiscarded-qualifiers] 8171 | res =3D strstr(sym_name, ".llvm."); | ^ mkdir -p /datadrive/ubinux/workdir/build-dir/202603/build-ubinux-upstream-u= binux-1046/build/tmp/work/ubinux_1046-ubinux-linux/perf/1.0/sources/perf-1.= 0/dlfilters ---------------------------------------------------------- So, Is the linux-qoriq recipe still under active maintenance, or are there = plans to update it to a newer kernel version soon? Best Regards Lei Maohui --------------------------------------------------- FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST) No.6 Wenzhu Road, Nanjing, 210012, China TEL=1B$B!'=1B(B+86+25-86630566--8568 COINS: 79988548 FAX: +86+25-83317685 MAIL: [email protected] --_000_TY3PR01MB11056341A0A76558891EE43CBA049ATY3PR01MB11056jp_ Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-2022-= jp"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <p class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; ma= rgin: 0.25rem 0px;"> <span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, "App= le Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&quo= t;, "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);">H= i everyone,</span></p> <div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; = margin: 0.25rem 0px; font-family: ui-sans-serif, system-ui, sans-serif, &qu= ot;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symb= ol", "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 1= 1);"> <br> </div> <p class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; ma= rgin: 0.25rem 0px;"> <span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, "App= le Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&quo= t;, "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);">I= 'm working with the </span><span style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Mon= aco, Consolas, "Liberation Mono", "Courier New", monosp= ace; font-size: 12.25px; color: rgb(9, 9, 11); background-color: rgb(244, 2= 44, 245); line-height: 1rem; font-weight: 600;"><code style=3D"font-family:= ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mo= no", "Courier New", monospace;">meta-freescale</code></span>= <span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, "App= le Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&quo= t;, "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);">&= nbsp;layer and have a question regarding the </span><span style=3D"font-family: ui-mo= nospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono&quo= t;, "Courier New", monospace; font-size: 12.25px; color: rgb(9, 9= , 11); background-color: rgb(244, 244, 245); line-height: 1rem; font-weight= : 600;"><code style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Mo= naco, Consolas, "Liberation Mono", "Courier New", monos= pace;">linux-qoriq</code></span><span style=3D"font-family: ui-sans-serif, = system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji&= quot;, "Segoe UI Symbol", "Noto Color Emoji"; font-size= : 14px; color: rgb(9, 9, 11);"> recipe.</span></p> <p class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; ma= rgin: 0.25rem 0px;"> <span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, "App= le Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&quo= t;, "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);">I= 've noticed that the latest version in the master branch is </span><span style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Mon= aco, Consolas, "Liberation Mono", "Courier New", monosp= ace; font-size: 12.25px; color: rgb(9, 9, 11); background-color: rgb(244, 2= 44, 245); line-height: 1rem; font-weight: 600;"><code style=3D"font-family:= ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mo= no", "Courier New", monospace;">linux-qoriq_6.12.bb</code></= span><span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, &quo= t;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbo= l", "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11= );">, which seems to have been in place for a while.</span></p> <p class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; ma= rgin: 0.25rem 0px;"> <span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, "App= le Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&quo= t;, "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);">R= ecently, after upgrading my </span><span style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Mon= aco, Consolas, "Liberation Mono", "Courier New", monosp= ace; font-size: 12.25px; color: rgb(9, 9, 11); background-color: rgb(244, 2= 44, 245); line-height: 1rem; font-weight: 600;"><code style=3D"font-family:= ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mo= no", "Courier New", monospace;">oe-core</code></span><span s= tyle=3D"font-family: ui-sans-serif, system-ui, sans-serif, "Apple Colo= r Emoji", "Segoe UI Emoji", "Segoe UI Symbol", &qu= ot;Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);"> ch= eckout to a more recent version (e.g., glibc 2.43), I've started encountering a b= uild failure. The build fails specifically when compiling the </span><span style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Mon= aco, Consolas, "Liberation Mono", "Courier New", monosp= ace; font-size: 12.25px; color: rgb(9, 9, 11); background-color: rgb(244, 2= 44, 245); line-height: 1rem; font-weight: 600;"><code style=3D"font-family:= ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mo= no", "Courier New", monospace;">perf</code></span><span styl= e=3D"font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color E= moji", "Segoe UI Emoji", "Segoe UI Symbol", "= Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);"> tool, which is part of the </span><span style=3D"font-family: ui-monospace, SFMo= no-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Cou= rier New", monospace; font-size: 12.25px; color: rgb(9, 9, 11); backgr= ound-color: rgb(244, 244, 245); line-height: 1rem; font-weight: 600;"><code= style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consola= s, "Liberation Mono", "Courier New", monospace;">linux-= qoriq</code></span><span style=3D"font-family: ui-sans-serif, system-ui, sa= ns-serif, "Apple Color Emoji", "Segoe UI Emoji", "= Segoe UI Symbol", "Noto Color Emoji"; font-size: 14px; color= : rgb(9, 9, 11);"> recipe (</span><span style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, M= onaco, Consolas, "Liberation Mono", "Courier New", mono= space; font-size: 12.25px; color: rgb(9, 9, 11); background-color: rgb(244,= 244, 245); line-height: 1rem; font-weight: 600;"><code style=3D"font-famil= y: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation = Mono", "Courier New", monospace;">perf</code></span><span st= yle=3D"font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color= Emoji", "Segoe UI Emoji", "Segoe UI Symbol", &quo= t;Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);"> tas= k).</span></p> <p class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; ma= rgin: 0.25rem 0px;"> <span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, "App= le Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&quo= t;, "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 11);">H= ere is the key error message from the build log:</span></p> <div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; = margin: 0.25rem 0px; font-family: ui-sans-serif, system-ui, sans-serif, &qu= ot;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symb= ol", "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 1= 1);"> ----------------------------------------------------------</div> <div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; = margin: 0.25rem 0px;"> <span style=3D"font-family: "Atlassian Sans", ui-sans-serif, -app= le-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetic= a Neue", sans-serif; font-size: 16px; color: rgb(41, 42, 46); backgrou= nd-color: rgb(255, 255, 255);">/build/tmp/work/ubinux_1046-ubinux-linux/per= f/1.0/sources/perf-1.0/tools/include/uapi -I/datadrive/ubinux/workdir/build-dir/202603/build-ubinux-upstream-ubinux-= 1046/build/tmp/work/ubinux_1046-ubinux-linux/perf/1.0/sources/perf-1.0/tool= s/arch/arm64/include -fvisibility=3Dhidden -D_LARGEFILE64_SOURCE -D_FILE_OF= FSET_BITS=3D64 -D"BUILD_STR(s)=3D#s" -c -o /datadrive/ubinux/workdir/build-dir/202603/build-ubinux-upstream-ubinux= -1046/build/tmp/work/ubinux_1046-ubinux-linux/perf/1.0/sources/perf-1.0/lib= bpf/staticobjs/ringbuf.o ringbuf.c</span><span style=3D"font-family: ui-san= s-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe = UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; = font-size: 14px; color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Atlassian Sans", ui-sans-seri= f, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "H= elvetica Neue", sans-serif; font-size: 16px; color: rgb(41, 42, 46); b= ackground-color: rgb(255, 255, 255);">libbpf.c: In function 'kallsyms_cb':<= /span><span style=3D"font-family: ui-sans-serif, system-ui, sans-serif, &qu= ot;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symb= ol", "Noto Color Emoji"; font-size: 14px; color: rgb(0, 0, 0= );"><br> </span><span style=3D"font-family: "Atlassian Sans", ui-sans-seri= f, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "H= elvetica Neue", sans-serif; font-size: 16px; color: rgb(41, 42, 46); b= ackground-color: rgb(255, 255, 255);">libbpf.c:8171:13: error: assignment discards 'const' qualifier from pointer target type [-Werror=3Ddiscarded-q= ualifiers]</span><span style=3D"font-family: ui-sans-serif, system-ui, sans= -serif, "Apple Color Emoji", "Segoe UI Emoji", "Se= goe UI Symbol", "Noto Color Emoji"; font-size: 14px; color: = rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Atlassian Sans", ui-sans-seri= f, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "H= elvetica Neue", sans-serif; font-size: 16px; color: rgb(41, 42, 46); b= ackground-color: rgb(255, 255, 255);">8171 | res =3D strstr(sym_name, ".llvm.");</span><span style=3D"font-family: ui-sans-serif, syst= em-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"= ;, "Segoe UI Symbol", "Noto Color Emoji"; font-size: 14= px; color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Atlassian Sans", ui-sans-seri= f, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "H= elvetica Neue", sans-serif; font-size: 16px; color: rgb(41, 42, 46); b= ackground-color: rgb(255, 255, 255);">| ^</span><span style=3D"font-family:= ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "= ;Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji&= quot;; font-size: 14px; color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Atlassian Sans", ui-sans-seri= f, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "H= elvetica Neue", sans-serif; font-size: 16px; color: rgb(41, 42, 46); b= ackground-color: rgb(255, 255, 255);">mkdir -p /datadrive/ubinux/workdir/bu= ild-dir/202603/build-ubinux-upstream-ubinux-1046/build/tmp/work/ubinux_1046= -ubinux-linux/perf/1.0/sources/perf-1.0/dlfilters</span></div> <div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; = margin: 0.25rem 0px; font-family: ui-sans-serif, system-ui, sans-serif, &qu= ot;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symb= ol", "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 1= 1);"> ----------------------------------------------------------</div> <div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; = margin: 0.25rem 0px; font-family: ui-sans-serif, system-ui, sans-serif, &qu= ot;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symb= ol", "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 1= 1);"> So, Is the <span style=3D"font-family: ui-monospace, SFMono-Regular, Menlo,= Monaco, Consolas, "Liberation Mono", "Courier New", mo= nospace; font-size: 12.25px; background-color: rgb(244, 244, 245); line-hei= ght: 1rem; font-weight: 600;"> <code style=3D"font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Co= nsolas, "Liberation Mono", "Courier New", monospace;">l= inux-qoriq</code></span> recipe still under active maintenance, or are= there plans to update it to a newer kernel version soon?</div> <div class=3D"elementToProof" style=3D"text-align: left; text-indent: 0px; = margin: 0.25rem 0px; font-family: ui-sans-serif, system-ui, sans-serif, &qu= ot;Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symb= ol", "Noto Color Emoji"; font-size: 14px; color: rgb(9, 9, 1= 1);"> <br> </div> <div id=3D"Signature" class=3D"elementToProof"> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 10pt; c= olor: rgb(0, 0, 0);"> <br> </div> <div class=3D"elementToProof" style=3D"font-family: "Segoe UI", &= quot;Segoe UI Web (West European)", -apple-system, BlinkMacSystemFont,= Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; colo= r: rgb(36, 36, 36);"> <span style=3D"background-color: rgb(255, 255, 255);">Best Regards</span></= div> <div class=3D"elementToProof"><span style=3D"font-size: 14.6667px; color: r= gb(36, 36, 36);">Lei Maohui<br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">---------------------------------= ------------------</span><span style=3D"font-family: Aptos, Aptos_EmbeddedF= ont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 10pt; = color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)</span><span style=3D"font-family: Aptos, Aptos= _EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-si= ze: 10pt; color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">No.6 Wenzhu Road, Nanjing, 210012, China</span><span style=3D"font-family: Aptos, Aptos_EmbeddedFont,= Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 10pt; colo= r: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">TEL=1B$B!'=1B(B+86+25-86630566--8= 568</span><span style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFo= ntService, Calibri, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0= , 0);"><br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">COINS: 79988548</span><span style= =3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, H= elvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">FAX: +86+25-83317685</span><span = style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calib= ri, Helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><br> </span><span style=3D"font-family: "Segoe UI", "Segoe UI Web= (West European)", -apple-system, BlinkMacSystemFont, Roboto, "He= lvetica Neue", sans-serif; font-size: 14.6667px; color: rgb(36, 36, 36= ); background-color: rgb(255, 255, 255);">MAIL: [email protected]</span= ></div> <div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo= nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 10pt; c= olor: rgb(0, 0, 0);"> <br> </div> </div> </body> </html> --_000_TY3PR01MB11056341A0A76558891EE43CBA049ATY3PR01MB11056jp_--