DPDK CI discussions
 help / color / Atom feed
* [dpdk-ci]  Fedora Rawhide Error on Compile DPDK with GCC11
@ 2020-10-15 17:03 David Liu
  2020-10-15 17:12 ` David Marchand
  0 siblings, 1 reply; 4+ messages in thread
From: David Liu @ 2020-10-15 17:03 UTC (permalink / raw)
  To: ci

[-- 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 --]

<div dir="ltr">Hello everyone,<br><div><br></div><div>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:<br></div><div><br></div><div>../app/test/test_graph_perf.c<br></div><div>../app/test/test_graph_perf.c: In function ‘graph_init’:<br>../app/test/test_graph_perf.c:311:1: error: wrong number of arguments specified for ‘access’ attribute<br>  311 | {<br>      | ^<br>../app/test/test_graph_perf.c:311:1: note: expected between 1 and 3, found 4<br>[2368/2483] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual.c.o<br>ninja: build stopped: subcommand failed.<br></div><div><br></div><div>Here is the link to the <span style="background-color:rgb(248,249,250);color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap">Bugzilla ticket for this issue:  </span><a href="https://bugs.dpdk.org/show_bug.cgi?id=557#c0">https://bugs.dpdk.org/show_bug.cgi?id=557#c0</a></div><div><br></div><div>Thanks,</div><div>David</div><div><br></div></div>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-ci] Fedora Rawhide Error on Compile DPDK with GCC11
  2020-10-15 17:03 [dpdk-ci] Fedora Rawhide Error on Compile DPDK with GCC11 David Liu
@ 2020-10-15 17:12 ` David Marchand
  2020-10-15 17:17   ` [dpdk-ci] [EXT] " Jerin Jacob Kollanukkaran
  0 siblings, 1 reply; 4+ messages in thread
From: David Marchand @ 2020-10-15 17:12 UTC (permalink / raw)
  To: David Liu; +Cc: ci, Jerin Jacob Kollanukkaran, Yigit, Ferruh

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-ci] [EXT] Re: Fedora Rawhide Error on Compile DPDK with GCC11
  2020-10-15 17:12 ` David Marchand
@ 2020-10-15 17:17   ` " Jerin Jacob Kollanukkaran
  2020-10-15 19:17     ` David Marchand
  0 siblings, 1 reply; 4+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2020-10-15 17:17 UTC (permalink / raw)
  To: David Marchand, David Liu
  Cc: ci, Yigit, Ferruh, Kiran Kumar Kokkilagadda, Pavan Nikhilesh Bhagavatula


> -----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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-ci] [EXT] Re: Fedora Rawhide Error on Compile DPDK with GCC11
  2020-10-15 17:17   ` [dpdk-ci] [EXT] " Jerin Jacob Kollanukkaran
@ 2020-10-15 19:17     ` David Marchand
  0 siblings, 0 replies; 4+ messages in thread
From: David Marchand @ 2020-10-15 19:17 UTC (permalink / raw)
  To: Jerin Jacob Kollanukkaran
  Cc: David Liu, ci, Yigit, Ferruh, Kiran Kumar Kokkilagadda,
	Pavan Nikhilesh Bhagavatula

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 17:03 [dpdk-ci] Fedora Rawhide Error on Compile DPDK with GCC11 David Liu
2020-10-15 17:12 ` David Marchand
2020-10-15 17:17   ` [dpdk-ci] [EXT] " Jerin Jacob Kollanukkaran
2020-10-15 19:17     ` David Marchand

DPDK CI discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/ci/0 ci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ci ci/ http://inbox.dpdk.org/ci \
		ci@dpdk.org
	public-inbox-index ci


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.ci


AGPL code for this site: git clone https://public-inbox.org/ public-inbox