From 739bcf74cb976ad47f3ccfe691181aaf39567e2c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 22 Jan 2024 11:12:31 -0800 Subject: optee-os: Use gcc instead of clang-18 Signed-off-by: Khem Raj --- conf/nonclangable.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index f482185..7bb2ef3 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -186,6 +186,12 @@ TOOLCHAIN:pn-optee-os:tegra = "gcc" TOOLCHAIN:pn-libgcc-for-nvcc:tegra = "gcc" TOOLCHAIN:pn-gcc-for-nvcc-runtime:tegra = "gcc" +# Does not compile with clang 18 +#| core/arch/arm/include/arm64.h:392:1: error: expected writable system register or pstate +#| 392 | DEFINE_U32_REG_READWRITE_FUNCS(fpcr) +#| | ^ +TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc" + CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " # TOPDIR/build/tmp/work/core2-32-yoe-linux/gnu-efi/3.0.17-r0/gnu-efi-3.0.17//lib/ctors.S:11:41: error: expected the entry size -- cgit v1.2.3-54-g00ecf