Skip to contentSkip to conversation

[23.11] net/hns3 fails to build with clang 20 and C11 stdatomic enabled

DPDK/core Bug 1772 [email protected] 1 participant 2 messages Aug 17, 2025 – Aug 25, 2025

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 1772
           Summary: [23.11] net/hns3 fails to build with clang 20 and C11
                    stdatomic enabled
           Product: DPDK
           Version: 23.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

$ meson --werror --buildtype=debugoptimized -Denable_stdatomic=true build &&
ninja-build -C build

[..]
drivers/net/hns3/hns3_ethdev.c:5224:6: error: address argument to atomic operation must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short *') invalid)
[..]

OS: Fedora Linux 42
Meson: 1.7.2
Compiler: clang version 20.1.8

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

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

[email protected] ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from [email protected] ([email protected]) --- The support of higher C standard has be included in main branch, the 23.11 can't support it. Please refer to https://bugs.dpdk.org/show_bug.cgi?id=1771

*** This bug has been marked as a duplicate of bug 1771 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.