From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id BD95345739;
Sun, 4 Aug 2024 23:01:29 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id AC9554027F;
Sun, 4 Aug 2024 23:01:29 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 22BBC4027D
for ; Sun, 4 Aug 2024 23:01:28 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 1B9C74573A; Sun, 4 Aug 2024 23:01:28 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/ethdev Bug 1513] */cnxk build failure on Ubuntu 24.04 with LTO
Date: Sun, 04 Aug 2024 21:01:28 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: ethdev
X-Bugzilla-Version: 24.07
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: alialnu@nvidia.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17228052870.7391fCAD3.1571260
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17228052870.7391fCAD3.1571260
Date: Sun, 4 Aug 2024 23:01:27 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1513
Bug ID: 1513
Summary: */cnxk build failure on Ubuntu 24.04 with LTO
Product: DPDK
Version: 24.07
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: alialnu@nvidia.com
Target Milestone: ---
$ meson --werror -Db_lto=3Dtrue build && ninja -C build
[..]
../drivers/common/cnxk/roc_irq.c: In function =E2=80=98irq_config=E2=80=99:
../drivers/common/cnxk/roc_irq.c:53:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=3D]
53 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^
../drivers/common/cnxk/roc_irq.c:53:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
../drivers/common/cnxk/roc_irq.c: In function =E2=80=98irq_init=E2=80=99:
../drivers/common/cnxk/roc_irq.c:90:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=3D]
90 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^
../drivers/common/cnxk/roc_irq.c:90:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
In function =E2=80=98parse_flag=E2=80=99,
inlined from =E2=80=98rte_kvargs_process=E2=80=99 at ../lib/kvargs/rte_=
kvargs.c:188:9,
inlined from =E2=80=98cnxk_ethdev_parse_devargs=E2=80=99 at
../drivers/net/cnxk/cnxk_ethdev_devargs.c:339:2:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:167:33: warning: writing 2 bytes =
into
a region of size 1 [-Wstringop-overflow=3D]
167 | *(uint16_t *)extra_args =3D atoi(value);
| ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
=E2=80=98cnxk_ethdev_parse_devargs=E2=80=99:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:310:17: note: destination object
=E2=80=98lock_rx_ctx=E2=80=99 of size 1
310 | uint8_t lock_rx_ctx =3D 0;
| ^
In function =E2=80=98parse_flag=E2=80=99,
inlined from =E2=80=98rte_kvargs_process=E2=80=99 at ../lib/kvargs/rte_=
kvargs.c:188:9,
inlined from =E2=80=98cnxk_ethdev_parse_devargs=E2=80=99 at
../drivers/net/cnxk/cnxk_ethdev_devargs.c:362:2:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:167:33: warning: writing 2 bytes =
into
a region of size 1 [-Wstringop-overflow=3D]
167 | *(uint16_t *)extra_args =3D atoi(value);
| ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
=E2=80=98cnxk_ethdev_parse_devargs=E2=80=99:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:311:17: note: destination object
=E2=80=98rx_inj_ena=E2=80=99 of size 1
311 | uint8_t rx_inj_ena =3D 0;
| ^
[2766/2774] Linking target app/dpdk-test-cmdline
[..]
OS: Ubuntu 24.04
Meson: 1.3.2
Compiler: gcc 13.2.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17228052870.7391fCAD3.1571260
Date: Sun, 4 Aug 2024 23:01:27 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
$ meson --werror -Db_lto=3Dtrue bu=
ild && ninja -C build
[..]
../drivers/common/cnxk/roc_irq.c: In function =E2=80=98irq_config=E2=80=99:
../drivers/common/cnxk/roc_irq.c:53:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=3D]
53 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^
../drivers/common/cnxk/roc_irq.c:53:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
../drivers/common/cnxk/roc_irq.c: In function =E2=80=98irq_init=E2=80=99:
../drivers/common/cnxk/roc_irq.c:90:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=3D]
90 | char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
| ^
../drivers/common/cnxk/roc_irq.c:90:14: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
In function =E2=80=98parse_flag=E2=80=99,
inlined from =E2=80=98rte_kvargs_process=E2=80=99 at ../lib/kvargs/rte_=
kvargs.c:188:9,
inlined from =E2=80=98cnxk_ethdev_parse_devargs=E2=80=99 at
../drivers/net/cnxk/cnxk_ethdev_devargs.c:339:2:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:167:33: warning: writing 2 bytes =
into
a region of size 1 [-Wstringop-overflow=3D]
167 | *(uint16_t *)extra_args =3D atoi(value);
| ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
=E2=80=98cnxk_ethdev_parse_devargs=E2=80=99:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:310:17: note: destination object
=E2=80=98lock_rx_ctx=E2=80=99 of size 1
310 | uint8_t lock_rx_ctx =3D 0;
| ^
In function =E2=80=98parse_flag=E2=80=99,
inlined from =E2=80=98rte_kvargs_process=E2=80=99 at ../lib/kvargs/rte_=
kvargs.c:188:9,
inlined from =E2=80=98cnxk_ethdev_parse_devargs=E2=80=99 at
../drivers/net/cnxk/cnxk_ethdev_devargs.c:362:2:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:167:33: warning: writing 2 bytes =
into
a region of size 1 [-Wstringop-overflow=3D]
167 | *(uint16_t *)extra_args =3D atoi(value);
| ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
=E2=80=98cnxk_ethdev_parse_devargs=E2=80=99:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:311:17: note: destination object
=E2=80=98rx_inj_ena=E2=80=99 of size 1
311 | uint8_t rx_inj_ena =3D 0;
| ^
[2766/2774] Linking target app/dpdk-test-cmdline
[..]
OS: Ubuntu 24.04
Meson: 1.3.2
Compiler: gcc 13.2.0