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

bugzilla at dpdk.org bugzilla at dpdk.org
Sun Aug 17 12:43:30 CEST 2025


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: dev at dpdk.org
          Reporter: alialnu at nvidia.com
  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

-- 
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/20250817/3edcc1f9/attachment.htm>


More information about the dev mailing list