It is only enabled with some specific clang versions
and disabled with gcc.

Signed-off-by: Mikko Rapeli <[email protected]>
---
 features/security/security-arm64.cfg | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/features/security/security-arm64.cfg 
b/features/security/security-arm64.cfg
index 5222afb34b05..bde2a0ee3592 100644
--- a/features/security/security-arm64.cfg
+++ b/features/security/security-arm64.cfg
@@ -16,11 +16,15 @@ CONFIG_ARM64_PTR_AUTH_KERNEL=y
 
 # Available in ARMv8.5 and later.
 CONFIG_ARM64_BTI=y
-CONFIG_ARM64_BTI_KERNEL=y
 CONFIG_ARM64_MTE=y
 CONFIG_KASAN_HW_TAGS=y
 CONFIG_ARM64_E0PD=y
 
+# Disabled with gcc
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671
+# https://lore.kernel.org/all/20250714195205.GA3723043@ax162/
+CONFIG_ARM64_BTI_KERNEL=y
+
 # Available in ARMv8.7 and later.
 CONFIG_ARM64_EPAN=y
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16146): 
https://lists.yoctoproject.org/g/linux-yocto/message/16146
Mute This Topic: https://lists.yoctoproject.org/mt/117176764/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to