Skip to contentSkip to conversation

Segmentation fault running acl_autotest when built with gcc 11 and -O3 on ppc64le

Bug 1197 [email protected] 1 participant 1 message Mar 22, 2023

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 1197
Summary: Segmentation fault running acl_autotest when built
with gcc 11 and -O3 on ppc64le
Product: DPDK
Version: 23.03
Hardware: POWER
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

Building DPDK with gcc 11 (and later versions) on a ppc64le system with RHEL 8.7 produces a segmentation fault when running the acl_autotest:

$ meson build && meson test -C build --suite DPDK:fast-tests
...
[2397/2397] Linking target app/test/dpdk-test
 1/71 DPDK:fast-tests / acl_autotest                        FAIL            
1.27s   killed by signal 11 SIGSEGV
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

MALLOC_PERTURB_=139 DPDK_TEST=acl_autotest /home/drc/src/dpdk/build/app/test/dpdk-test --no-huge -m 2048 --file-prefix=acl_autotest

Building the same code with -O2 works correctly:

$ meson -Doptimization=2 build && meson test -C build --suite DPDK:fast-tests
...
[2397/2397] Linking target app/test/dpdk-test
 1/71 DPDK:fast-tests / acl_autotest                        OK              
2.72s
 2/71 DPDK:fast-tests / bitmap_autotest                     OK              
0.90s
...
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.