Thread (7 messages) 7 messages, 2 authors, 2021-09-13

Re: [dpdk-dev] [PATCH] eal/ppc: ignore gcc 10 stringop-overflow warnings

From: David Christensen <hidden>
Date: 2021-09-08 17:42:53

Suppress gcc warning "warning: writing 16 bytes into a region of
size 0" for users of the POWER rte_memcpy() function.  Existing
rte_memcpy() code takes different code paths based on the actual
size of the move so the warning is already addressed. See also
commit b5b3ea803e47 ("eal/x86: ignore gcc 10 stringop-overflow warnings")

Signed-off-by: David Christensen <redacted>
---
v2:
- update copyright year
- rebase for 21.11-rc0
David M,

Any chance of getting this approved in the 21.11 cycle?  Patch was 
originally submitted on 6/23, is only applicable to PPC architecture, 
and has no functional impact because it only disables warnings. 
Patchwork reports a performance test regression on x86 systems:

http://patches.dpdk.org/project/dpdk/patch/20210902221514.3215704-1-drc@linux.vnet.ibm.com/

But I don't see how that is possible.  Applying the patch on a local x86 
system results in identical x86 binaries with and without the patch 
applied.  It would appear that the test-to-test performance variations 
exceed the failure threshold on the CI setup.

Dave
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help