From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B2CDD41C1D for ; Wed, 13 Nov 2024 09:08:14 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3146040290; Wed, 13 Nov 2024 10:08:13 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 16D6B40150 for ; Wed, 13 Nov 2024 10:08:12 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 0131445CD9; Wed, 13 Nov 2024 10:08:11 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4 Date: Wed, 13 Nov 2024 09:08:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: eventdev X-Bugzilla-Version: 24.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tingtingx.liao@intel.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=17314888910.8D48fE6bE.4088617 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 --17314888910.8D48fE6bE.4088617 Date: Wed, 13 Nov 2024 10:08:11 +0100 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=3D1576 Bug ID: 1576 Summary: [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS=3D'-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: --- --=20 You are receiving this mail because: You are the assignee for the bug.= --17314888910.8D48fE6bE.4088617 Date: Wed, 13 Nov 2024 10:08:11 +0100 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
Bug ID 1576
Summary [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS=3D'-O1' o= n 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.
=20=20=20=20=20=20=20=20=20=20
= --17314888910.8D48fE6bE.4088617-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA282C02182 for ; Thu, 23 Jan 2025 07:41:16 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C55AC40279; Thu, 23 Jan 2025 08:41:15 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 8AED040269 for ; Thu, 23 Jan 2025 08:41:14 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 78083460F6; Thu, 23 Jan 2025 08:41:14 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [DPDK/eventdev Bug 1576] [dpdk24.11-rc2] DPDK build failed with EXTRA_CFLAGS='-O1' on Redhat9.4 Date: Thu, 23 Jan 2025 07:41:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: eventdev X-Bugzilla-Version: 24.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tingtingx.liao@intel.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: multipart/alternative; boundary=17376180741.D3B3D.2346340 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 --17376180741.D3B3D.2346340 Date: Thu, 23 Jan 2025 08:41:14 +0100 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=3D1576 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, b= ut 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 fiel= ds. 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 wh= en using Clang 19.1.3 and higher versions of GCC 14.2.1. --=20 You are receiving this mail because: You are the assignee for the bug.= --17376180741.D3B3D.2346340 Date: Thu, 23 Jan 2025 08:41:14 +0100 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 tingtingx.liao@intel.com changed bug 1576
What Removed Added
Resolution --- FIXED
Status UNCONFIRMED RESOLVED

Comment # 3 on bug 1576 from tingtingx.liao@intel.com
This issue has been fixed on highe=
r 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, b=
ut
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 fiel=
ds.
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 wh=
en
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.
=20=20=20=20=20=20=20=20=20=20
= --17376180741.D3B3D.2346340--