[dpdk-dev] [PATCH 2/2] net/igc: fix gcc build for optimization level 0
David Marchand
david.marchand at redhat.com
Fri Nov 27 10:02:22 CET 2020
On Fri, Nov 27, 2020 at 9:10 AM Ruifeng Wang <ruifeng.wang at arm.com> wrote:
>
> Gcc build with '-O0' failed for:
> ../drivers/net/igc/base/igc_api.c
> Assembler messages:
> 29: Error: selected processor does not support `casp x0,x1,x2,x3,[x4]'
> 82: Error: selected processor does not support `caspa x0,x1,x2,x3,[x4]'
> 135: Error: selected processor does not support `caspl x0,x1,x2,x3,[x4]'
> 188: Error: selected processor does not support `caspal x0,x1,x2,x3,[x4]'
>
> This is due to c_args not been passed to meson.
>
> Fixes: 8cb7c57d9b3c ("net/igc: support device initialization")
> Cc: alvinx.zhang at intel.com
>
> Reported-by: Feifei Wang <feifei.wang2 at arm.com>
> Signed-off-by: Ruifeng Wang <ruifeng.wang at arm.com>
I did not get to reproduce it yet (get an error on first patch...).
The patch looks fine but I fear some compilation problems since a lot
of base drivers filter cflags.
Still waiting for CI results...
Bruce,Ferruh,
Wdyt?
--
David Marchand
More information about the dev
mailing list