Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 3f62bba2e7aa15e5f1e418cdced0f4160de154b3 ] Original ACL implementation of Altivec optimized code included an explicit -O2 optimization level for a particular inlined function. When DPDK is built with the default -O3 optimization level on gcc 11.x or later, the resulting code may generate a segmentation fault as observed in acl_autotest. Since there is no explicit reason given for the local function optimization level in the original commit, and testing with gcc versions 8.x through 12.x results in working code at all -O optimization settings, the local optimization is removed. Bugzilla ID: 1197 Signed-off-by: David Christensen <drc@linux.vnet.ibm.com> Tested-by: Thinh Tran <thinhtr@linux.vnet.ibm.com>
- Loading branch information