Re: netronome/nfp/bpf/jit.c cannot be build with -O3
From: Oleksandr Natalenko
Date: Mon May 06 2019 - 17:25:29 EST
Hi.
On 06.05.2019 23:00, Jakub Kicinski wrote:
Any chance you could try different compiler versions? The code in
question does not look too unusual. Could you try if removing
FIELD_FIT() on line 326 makes a difference?
If building with gcc from CentOS 7:
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
the issue is not reproducible.
Also, commenting out the whole "if" block with FIELD_FIT() prevents the
issue from occurring too.
--
Oleksandr Natalenko (post-factum)