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 A11784331C; Mon, 13 Nov 2023 16:18:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F2E740608; Mon, 13 Nov 2023 16:18:17 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 4FB10402B0 for ; Mon, 13 Nov 2023 16:18:15 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 46CB64331D; Mon, 13 Nov 2023 16:18:15 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1313] Build errors with clang 17.0.3 and ASan Date: Mon, 13 Nov 2023 15:18:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 23.11 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=16998886950.D06938F30.1440744 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 --16998886950.D06938F30.1440744 Date: Mon, 13 Nov 2023 16:18:15 +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=3D1313 Bug ID: 1313 Summary: Build errors with clang 17.0.3 and ASan Product: DPDK Version: 23.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- """ $ meson --werror -Db_sanitize=3Daddress -Db_lundef=3Dfalse build $ ninja-build -C build [..] drivers/rte_bus_fslmc.pmd.c:4:12: error: redefinition of '_pmd_info' 4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_bus_fslmc.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_bus_fslmc.pmd.c:6:12: error: redefinition of '_pmd_info' 6 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_bus_fslmc.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ [..] drivers/rte_common_mlx5.pmd.c:4:12: error: redefinition of '_pmd_info' 4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_common_mlx5.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ [..] drivers/rte_net_bnx2x.pmd.c:4:12: error: redefinition of '_pmd_info' 4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_net_bnx2x.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ [..] drivers/rte_net_e1000.pmd.c:4:12: error: redefinition of '_pmd_info' 4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_net_e1000.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_net_e1000.pmd.c:6:12: error: redefinition of '_pmd_info' 6 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_net_e1000.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ [..] drivers/rte_net_hns3.pmd.c:4:12: error: redefinition of '_pmd_info' 4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_net_hns3.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ [..] drivers/rte_net_ice.pmd.c:4:12: error: redefinition of '_pmd_info' 4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ drivers/rte_net_ice.pmd.c:2:12: note: previous definition is here 2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STRING=3D {\"name\": \"\", \"pci_ids\": []}"; | ^ [..] """ OS: Fedora 39 Meson: 1.2.3 Clang: 17.0.3 (Fedora 17.0.3-1.fc39) --=20 You are receiving this mail because: You are the assignee for the bug.= --16998886950.D06938F30.1440744 Date: Mon, 13 Nov 2023 16:18:15 +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 1313
Summary Build errors with clang 17.0.3 and ASan
Product DPDK
Version 23.11
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component other
Assignee dev@dpdk.org
Reporter alialnu@nvidia.com
Target Milestone ---

"""
$ meson --werror -Db_sanitize=3Daddress -Db_lundef=3Dfalse build
$ ninja-build -C build

[..]

drivers/rte_bus_fslmc.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_bus_fslmc.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_bus_fslmc.pmd.c:6:12: error: redefinition of '_pmd_info'
    6 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_bus_fslmc.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]

drivers/rte_common_mlx5.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_common_mlx5.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]

drivers/rte_net_bnx2x.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_bnx2x.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]

drivers/rte_net_e1000.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_e1000.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_e1000.pmd.c:6:12: error: redefinition of '_pmd_info'
    6 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_e1000.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]

drivers/rte_net_hns3.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_hns3.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]

drivers/rte_net_ice.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_ice.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) =3D "PMD_INFO_STR=
ING=3D
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]
"""

OS: Fedora 39
Meson: 1.2.3
Clang: 17.0.3 (Fedora 17.0.3-1.fc39)
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --16998886950.D06938F30.1440744--