DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1313] Build errors with clang 17.0.3 and ASan
@ 2023-11-13 15:18 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2023-11-13 15:18 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 4002 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1313

            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=address -Db_lundef=false 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)) = "PMD_INFO_STRING=
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_bus_fslmc.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) = "PMD_INFO_STRING=
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_bus_fslmc.pmd.c:6:12: error: redefinition of '_pmd_info'
    6 | const char _pmd_info[] __attribute__((used)) = "PMD_INFO_STRING=
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_bus_fslmc.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) = "PMD_INFO_STRING=
{\"name\": \"\", \"pci_ids\": []}";
      |            ^

[..]

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

[..]

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

[..]

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

[..]

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

[..]

drivers/rte_net_ice.pmd.c:4:12: error: redefinition of '_pmd_info'
    4 | const char _pmd_info[] __attribute__((used)) = "PMD_INFO_STRING=
{\"name\": \"\", \"pci_ids\": []}";
      |            ^
drivers/rte_net_ice.pmd.c:2:12: note: previous definition is here
    2 | const char _pmd_info[] __attribute__((used)) = "PMD_INFO_STRING=
{\"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.

[-- Attachment #2: Type: text/html, Size: 6539 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-13 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 15:18 [Bug 1313] Build errors with clang 17.0.3 and ASan 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).