From c2dad37627f93d4f361ad32fb736fe815176104b Mon Sep 17 00:00:00 2001 From: Todd Kjos Date: Fri, 28 Jun 2024 21:41:16 +0000 Subject: [PATCH] ANDROID: fix kernelci GCC builds of fips140.ko GCC builds of fips140.ko all fail with these errors. This causes allmodconfig builds to fail in kernelci. aarch64-linux-gnu-objcopy: crypto/fips140.ko: can't dump section '.rela.rodata' - it does not exist: file format not recognized Since the Android use-cases for fips140 are clang only, suppress fips140.ko builds for GCC Bug: 350087876 Signed-off-by: Todd Kjos Change-Id: I742d19bc5172d43a19acd48a248bc2a194f67ca2 --- crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index a537398bc27b..b93b403ca74f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -57,6 +57,7 @@ config CRYPTO_FIPS_VERSION config CRYPTO_FIPS140_MOD tristate "Enable FIPS 140 cryptographic module" depends on ARM64 && ARM64_MODULE_PLTS + depends on CC_IS_CLANG depends on m select CRYPTO_FIPS140_MERGE_MOD_SECTIONS help