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

Thomas Monjalon thomas at monjalon.net
Sun Nov 12 13:53:58 CET 2023


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.




More information about the dev mailing list