From 4d18427d4434e822972a3ba6772d5e1d607dcc17 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 5 May 2025 10:43:15 -0700 Subject: [PATCH] opengl-es-cts: Workaround gcc-15 segfault on aarch64 We are seeing a compile failure due to g++ sefaulting on one compile unit It seems a GCC 15 bug [1] [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb index 96a4ca7d49..db4ffbe92a 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb +++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb @@ -24,4 +24,6 @@ do_install() { } SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" +# GCC-15 segfaults see - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 +TUNE_CCARGS:remove:aarch64 = "-mcpu=cortex-a57+crc" LTO = ""