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 [thread overview]
Message-ID: <bug-1513-3@http.bugs.dpdk.org/> (raw)
[-- Attachment #1: Type: text/plain, Size: 2881 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1513
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=true build && ninja -C build
[..]
../drivers/common/cnxk/roc_irq.c: In function ‘irq_config’:
../drivers/common/cnxk/roc_irq.c:53:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=]
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 ‘irq_init’:
../drivers/common/cnxk/roc_irq.c:90:14: warning: argument to variable-length
array is too large [-Wvla-larger-than=]
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 ‘parse_flag’,
inlined from ‘rte_kvargs_process’ at ../lib/kvargs/rte_kvargs.c:188:9,
inlined from ‘cnxk_ethdev_parse_devargs’ 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=]
167 | *(uint16_t *)extra_args = atoi(value);
| ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
‘cnxk_ethdev_parse_devargs’:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:310:17: note: destination object
‘lock_rx_ctx’ of size 1
310 | uint8_t lock_rx_ctx = 0;
| ^
In function ‘parse_flag’,
inlined from ‘rte_kvargs_process’ at ../lib/kvargs/rte_kvargs.c:188:9,
inlined from ‘cnxk_ethdev_parse_devargs’ 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=]
167 | *(uint16_t *)extra_args = atoi(value);
| ^
../drivers/net/cnxk/cnxk_ethdev_devargs.c: In function
‘cnxk_ethdev_parse_devargs’:
../drivers/net/cnxk/cnxk_ethdev_devargs.c:311:17: note: destination object
‘rx_inj_ena’ of size 1
311 | uint8_t rx_inj_ena = 0;
| ^
[2766/2774] Linking target app/dpdk-test-cmdline
[..]
OS: Ubuntu 24.04
Meson: 1.3.2
Compiler: gcc 13.2.0
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 4762 bytes --]
reply other threads:[~2024-08-04 21:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-1513-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).