Bug 1425 - enable_stdatomic=true breaks C++ on GCC 11 and earlier
Summary: enable_stdatomic=true breaks C++ on GCC 11 and earlier
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: core (show other bugs)
Version: 23.11
Hardware: All Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-04-29 08:21 CEST by Mattias Rönnblom
Modified: 2024-04-29 08:21 CEST (History)
0 users



Attachments

Description Mattias Rönnblom 2024-04-29 08:21:13 CEST
On GCC 11 and earlier, configuring enable_stdatomic=true prevents the use of all DPDK header files that directly or indirectly include <rte_stdatomic.h> from a C++ translation unit (e.g., app).

<rte_stdatomic.h> includes <stdatomic.h>, which in turn is not necessarily C++-compatible.

Note You need to log in before you can comment on or make changes to this bug.