<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Segmentation fault running acl_autotest when built with gcc 11 and -O3 on ppc64le"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1197">1197</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault running acl_autotest when built with gcc 11 and -O3 on ppc64le
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>23.03
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>POWER
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>drc@linux.vnet.ibm.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">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
<span class="quote">>>> MALLOC_PERTURB_=139 DPDK_TEST=acl_autotest
>>> /home/drc/src/dpdk/build/app/test/dpdk-test --no-huge -m 2048
>>> --file-prefix=acl_autotest</span >

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
...
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1197">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>