[-- Attachment #1: Type: text/plain, Size: 755 bytes --] Hello everyone, We have successfully added GCC11 to Fedora Rawhide, but when we are trying to compile DPDK with GCC11. The compilation failed on an error showed below: ../app/test/test_graph_perf.c ../app/test/test_graph_perf.c: In function ‘graph_init’: ../app/test/test_graph_perf.c:311:1: error: wrong number of arguments specified for ‘access’ attribute 311 | { | ^ ../app/test/test_graph_perf.c:311:1: note: expected between 1 and 3, found 4 [2368/2483] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped: subcommand failed. Here is the link to the Bugzilla ticket for this issue: https://bugs.dpdk.org/show_bug.cgi?id=557#c0 Thanks, David [-- Attachment #2: Type: text/html, Size: 1127 bytes --]
On Thu, Oct 15, 2020 at 7:04 PM David Liu <dliu@iol.unh.edu> wrote:
>
> Hello everyone,
>
> We have successfully added GCC11 to Fedora Rawhide, but when we are trying to compile DPDK with GCC11. The compilation failed on an error showed below:
>
> ../app/test/test_graph_perf.c
> ../app/test/test_graph_perf.c: In function ‘graph_init’:
> ../app/test/test_graph_perf.c:311:1: error: wrong number of arguments specified for ‘access’ attribute
> 311 | {
> | ^
> ../app/test/test_graph_perf.c:311:1: note: expected between 1 and 3, found 4
> [2368/2483] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual.c.o
> ninja: build stopped: subcommand failed.
>
> Here is the link to the Bugzilla ticket for this issue: https://bugs.dpdk.org/show_bug.cgi?id=557#c0
Thanks for reporting David.
I assigned the bz to Jerin, as this is graph unit test code.
Fyi, we had a couple of gcc 11 fixes from Ferruh and others, but all
of them did not reach the main tree yet.
--
David Marchand
> -----Original Message----- > From: David Marchand <david.marchand@redhat.com> > Sent: Thursday, October 15, 2020 10:42 PM > To: David Liu <dliu@iol.unh.edu> > Cc: ci@dpdk.org; Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Yigit, Ferruh > <ferruh.yigit@intel.com> > Subject: [EXT] Re: [dpdk-ci] Fedora Rawhide Error on Compile DPDK with > GCC11 > > External Email > > ---------------------------------------------------------------------- > On Thu, Oct 15, 2020 at 7:04 PM David Liu <dliu@iol.unh.edu> wrote: > > > > Hello everyone, > > > > We have successfully added GCC11 to Fedora Rawhide, but when we are > trying to compile DPDK with GCC11. The compilation failed on an error showed > below: > > > > ../app/test/test_graph_perf.c > > ../app/test/test_graph_perf.c: In function ‘graph_init’: > > ../app/test/test_graph_perf.c:311:1: error: wrong number of arguments > specified for ‘access’ attribute > > 311 | { > > | ^ > > ../app/test/test_graph_perf.c:311:1: note: expected between 1 and 3, > > found 4 [2368/2483] Compiling C object > > drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker > > _dual.c.o > > ninja: build stopped: subcommand failed. > > > > Here is the link to the Bugzilla ticket for this issue: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.dpdk.org_sho > > w-5Fbug.cgi-3Fid-3D557- > 23c0&d=DwIFaQ&c=nKjWec2b6R0mOyPaz7xtfQ&r=1DGob4 > > > H4rxz6H8uITozGOCa0s5f4wCNtTa4UUKvcsvI&m=w0Xxi9SSVyT7SSeTovqRzTNxJ > sdSJD > > THAI8-EKdfOQM&s=Hv6Fnc9mdcq4GmT8m1OsSbi5tyd_SkFnUeI91ZdSSqI&e= > > Thanks for reporting David. > I assigned the bz to Jerin, as this is graph unit test code. We will look into this > > Fyi, we had a couple of gcc 11 fixes from Ferruh and others, but all of them did > not reach the main tree yet. Could you share those patches though dome form, So that we can just focus on Graph issue only. > > > -- > David Marchand
On Thu, Oct 15, 2020 at 7:17 PM Jerin Jacob Kollanukkaran <jerinj@marvell.com> wrote: > > Fyi, we had a couple of gcc 11 fixes from Ferruh and others, but all of them did > > not reach the main tree yet. Correction, next-net has been merged since then, and issues reported by Ferruh have patches in main. > Could you share those patches though dome form, So that we can just focus on Graph issue only. I was referring to Ferruh series: https://patchwork.dpdk.org/project/dpdk/list/?series=12380&state=* Commits in main: https://git.dpdk.org/dpdk/commit/?id=62aa0e8c66 https://git.dpdk.org/dpdk/commit/?id=5a75cc3c88 https://git.dpdk.org/dpdk/commit/?id=effb1d0b95 https://git.dpdk.org/dpdk/commit/?id=f4eb44f81d -- David Marchand