From e62442d3ae45ddb89bc61ced656e682591cc0902 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 23 Apr 2024 12:31:10 -0400 Subject: Fix crosssdk build on RISC-V Remove gcc-sanitizers from the crosssdk when building for RISC-V, as it is not currently supported on that platform. Bug-AGL: SPEC-5116 Change-Id: If4e273c85b322f65635e2e9fc4752227f19b065c Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29847 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller ci-image-build: Jenkins Job builder account (cherry picked from commit 2d90ed672986778ed9826beeb395e688cd628156) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29858 --- recipes-platform/images/agl-ivi-crosssdk.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes-platform') diff --git a/recipes-platform/images/agl-ivi-crosssdk.inc b/recipes-platform/images/agl-ivi-crosssdk.inc index 551c03437..f9f99d8d6 100644 --- a/recipes-platform/images/agl-ivi-crosssdk.inc +++ b/recipes-platform/images/agl-ivi-crosssdk.inc @@ -18,4 +18,7 @@ TOOLCHAIN_HOST_TASK += "nativesdk-grpc nativesdk-grpc-dev" # Add gcc-sanitizers to support building applications using the SDK with # AddressSanitizer support to detect use-after-frees along with other # memory issue. -TOOLCHAIN_TARGET_TASK += "gcc-sanitizers" +TOOLCHAIN_SANITIZERS_TASKS = "gcc-sanitizers" +# gcc-sanitizers is currently (scarthgap) not supported on RISC-V +TOOLCHAIN_SANITIZERS_TASKS:riscv64 = "" +TOOLCHAIN_TARGET_TASK += "${TOOLCHAIN_SANITIZERS_TASKS}" -- cgit 1.2.3-korg