[PATCH 1/2] build: disable GCC string op warnings when unoptimized

Stephen Hemminger stephen at networkplumber.org
Tue Oct 20 20:01:07 CEST 2026


On Tue, 20 Oct 2026 17:33:32 +0200
Morten Brørup <mb at smartsharesystems.com> wrote:

> I replied in the wrong thread, here it comes again:
> 
> Also '-Warray-bounds'?

No, if it doesn't trip today, then no need to change.

> 
> Consider making it a series, and also remove existing overflow/overread pragmas in the code (if viable):
> lib/ring/rte_ring_elem_pvt.h - You did this already!

> lib/eal/ppc/include/rte_memcpy.h

PPC rte_memcpy is doing something different and likely
because of different versions of GCC.
Not sure in general how supported ppc is so left it alone.

> 
> With or without suggested changes,


More information about the dev mailing list