Skip to contentSkip to conversation

[21.11] lib/ring build failure with gcc 12 and debug enabled

Bug 1149 [email protected] 1 participant 2 messages Dec 15, 2022 – Dec 21, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 1149
           Summary: [21.11] lib/ring build failure with gcc 12 and debug
                    enabled
           Product: DPDK
           Version: 21.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

$ meson --werror --buildtype=debug -Dc_args='-DRTE_ENABLE_ASSERT
-DRTE_LIBRTE_MLX4_DEBUG -DRTE_LIBRTE_MLX5_DEBUG' build && ninja-build -C build

[..]
lib/ring/rte_ring_elem_pvt.h:100:25: error: 'memcpy' reading 32 bytes from a region of size 4 [-Werror=stringop-overread]
[..]

DPDK: 0c553ce527
OS: Fedora 38
gcc: 12.2.1

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