[V2] net/qede: reduce the optimization level for gcc > 11
Thierry Herbelot
thierry.herbelot at 6wind.com
Tue Sep 9 07:27:56 CEST 2025
On 9/8/25 21:59, Stephen Hemminger wrote:
> 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.
As said in the commit log:
"The same issue is also seen with gcc-12 and gcc-14."
I did not test with gcc-15.
The issue is not seen with clang20 (qede PMD compiled with -O3 works as
expected).
Best regards
Thierry
--
Thierry Herbelot
CSE - Titulaire au collège Cadres
Senior Software Engineer
http://www.6wind.com/
Follow us:
https://www.linkedin.com/company/6wind/
https://twitter.com/6WINDsoftware
https://www.youtube.com/user/6windsoftware
More information about the dev
mailing list