DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/meson Bug 1985] chkincs fails to build with stdatomic
Date: Thu, 20 Aug 2026 12:33:32 +0000	[thread overview]
Message-ID: <bug-1985-3@https.bugs.dpdk.org/> (raw)

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: dev@dpdk.org
          Reporter: mb@smartsharesystems.com
  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.

                 reply	other threads:[~2026-08-20 12:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-1985-3@https.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox