[V2] net/qede: reduce the optimization level for gcc > 11

Stephen Hemminger stephen at networkplumber.org
Mon Sep 8 21:59:13 CEST 2025


On Mon,  8 Sep 2025 09:04:13 +0200
Thierry Herbelot <thierry.herbelot at 6wind.com> wrote:

> +# no packet Rx with gcc > 11 with compiling with default -O3 or -O2
> +if (cc.get_id() == 'gcc' and cc.version().version_compare('>11.0'))
> +    base_cflags += '-O1'
> +endif

Did you test with Gcc 14 and 15, it may be the bug is already fixed.


More information about the dev mailing list