[Bug 1313] Build errors with clang 17.0.3 and ASan
bugzilla at dpdk.org
bugzilla at dpdk.org
Mon Nov 13 16:18:15 CET 2023
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 at dpdk.org
Reporter: alialnu at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20231113/fc913df8/attachment-0001.htm>
More information about the dev
mailing list