[DPDK/meson Bug 1985] chkincs fails to build with stdatomic

[email protected]
Newsgroups org.dpdk.dev
Message-ID <[email protected]/>
https://bugs.dpdk.org/show_bug.cgi?id=1985

            Bug ID: 1985
           Summary: chkincs fails to build with stdatomic
           Product: DPDK
           Version: 26.07
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

How to reproduce:
meson setup --reconfigure -Dcheck_includes=true -Ddeveloper_mode=enabled
-Denable_docs=true -Denable_stdatomic=true build
ninja -C build

Output (truncated):
[4292/5310] Compiling C++ object
buildtools/chkincs/chkincs-cpp.p/meson-generated_rte_atomic.cpp.o
FAILED: buildtools/chkincs/chkincs-cpp.p/meson-generated_rte_atomic.cpp.o
ccache c++ -Ibuildtools/chkincs/chkincs-cpp.p -Ibuildtools/chkincs
-I../buildtools/chkincs -I. -I.. -Iconfig -I../config
-Ibuildtools/chkincs/staging -I../buildtools/chkincs/staging
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-O3 -include rte_config.h -march=native -mrtm -Wno-missing-field-initializers
-Wno-vla -MD -MQ
buildtools/chkincs/chkincs-cpp.p/meson-generated_rte_atomic.cpp.o -MF
buildtools/chkincs/chkincs-cpp.p/meson-generated_rte_atomic.cpp.o.d -o
buildtools/chkincs/chkincs-cpp.p/meson-generated_rte_atomic.cpp.o -c
buildtools/chkincs/chkincs-cpp.p/rte_atomic.cpp
In file included from buildtools/chkincs/staging/generic/rte_atomic.h:18,
                 from
/home/morten/upstreaming/dpdk-stack-std/lib/eal/x86/include/rte_atomic.h:12,
                 from buildtools/chkincs/chkincs-cpp.p/rte_atomic.cpp:1:
buildtools/chkincs/staging/rte_stdatomic.h:30:9: error: ‘memory_order’ does not
name a type
   30 | typedef memory_order rte_memory_order;
      |         ^~~~~~~~~~~~

Building on Ubuntu 24.04.01, DPDK version 26.11-rc0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.