[PATCH v2] config/arm: correct cpu arch for cross build

Joyce Kong Joyce.Kong at arm.com
Mon Nov 20 09:51:14 CET 2023



> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Sunday, November 12, 2023 8:54 PM
> To: Ruifeng Wang <Ruifeng.Wang at arm.com>; Joyce Kong
> <Joyce.Kong at arm.com>
> Cc: bruce.richardson at intel.com; dev at dpdk.org; nd <nd at arm.com>
> Subject: Re: [PATCH v2] config/arm: correct cpu arch for cross build
> 
> 07/11/2023 04:26, Joyce Kong:
> > The cn10k cross build file sets cpu to 'armv8.6-a' while it is
> > armv8.5-a arch.
> > The cpu field in the cross file doesn't take effect as
> > config/arm/meson.build controls machine_args for march.
> > Then correct the value in arm cross files to 'auto'.
> >
> > Signed-off-by: Joyce Kong <joyce.kong at arm.com>
> > Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> 
> It generates this error:
> 
> config/meson.build:178:8: ERROR: Problem encountered:
> Compiler does not support "native" arch flag.
> 
Hi Thomas, are there any changes for CI recently?
I checked the log, it seemed CI triggering a wrong configuration for cross compiling, not related to this patch.
I shall rebase the patch and send out V3, and we can see whether CI still fails.


More information about the dev mailing list