Skip to content

Commit 1985604

Browse files
rossburtonjonmason
authored andcommitted
arm/optee-ftpm: silence new compiler errors from GCC 14.1
GCC 14.1 is stricter with code validation and the build now fails. However as upstream appear to be about to remove this source entirely from upstream[1] I didn't want to spend long investigating this if upstream changes will obsolete it, so just silence the errors for now. [1] microsoft/ms-tpm-20-ref#108 Signed-off-by: Ross Burton <ross.burton@arm.com>
1 parent bd9fc4b commit 1985604

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

meta-arm/recipes-security/optee-ftpm/optee-ftpm_git.bb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ EXTRA_OEMAKE:append:aarch64:qemuall = "\
4242
CFG_ARM64_ta_arm64=y \
4343
"
4444

45+
# TODO: GCC 14.1 is finding genuine issues with the code but as upstream appear to be removing
46+
# the code we're building (https://github.com/microsoft/ms-tpm-20-ref/pull/108) lets just
47+
# ignore them for now.
48+
CFLAGS += "-Wno-implicit-function-declaration -Wno-incompatible-pointer-types"
49+
4550
# python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the
4651
# right path until this is relocated automatically.
4752
export OPENSSL_MODULES="${STAGING_LIBDIR_NATIVE}/ossl-modules"

0 commit comments

Comments
 (0)