* [DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4
@ 2024-11-13 9:08 bugzilla
2025-01-23 7:41 ` bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-11-13 9:08 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1576
Bug ID: 1576
Summary: [dpdk24.11-rc2] DPDK build failed with
EXTRA_CFLAGS='-O1' on Redhat9.4
Product: DPDK
Version: 24.11
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: eventdev
Assignee: dev@dpdk.org
Reporter: tingtingx.liao@intel.com
Target Milestone: ---
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 2358 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4
2024-11-13 9:08 [DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4 bugzilla
@ 2025-01-23 7:41 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2025-01-23 7:41 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 1645 bytes --]
https://bugs.dpdk.org/show_bug.cgi?id=1576
tingtingx.liao@intel.com (tingtingx.liao@intel.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from tingtingx.liao@intel.com (tingtingx.liao@intel.com) ---
This issue has been fixed on higher versions of gcc(14.2+)
And by the description of the following comment, will close this ticket.
Comments from developers:
The warning message is due to the fact that the assembly code generated by GCC
may skip the initialization of the event variable at the O1 optimization, but
was replaced by other instructions in O2 and O3, therefore it compiles fine.
This issue does not need to be fixed considering the following reasons.
1. There is a rte_memcpy() at line number 699 which is copying response
information as event into this. So, that will initialize all the event fields.
We don't require to initialize events at the declaration.
2. O1 is an unusual, the default optimization level of DPDK is O3, the
functions in the report are inline functions, they will be integrated into
their callers at this level, skipping the initialization is not possible.
3. These warning messages appear only in the O1 optimization and not in O2 and
O3.
4. The compiler in JIRA is GCC 11.4.1, and there are no warning messages when
using Clang 19.1.3 and higher versions of GCC 14.2.1.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #2: Type: text/html, Size: 3759 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-23 7:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-13 9:08 [DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4 bugzilla
2025-01-23 7:41 ` bugzilla
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).