Skip to contentSkip to conversation

opengl-es-cts: Workaround gcc-15 segfault on aarch64

PATCH New Khem Raj 1 participant 1 message May 5, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb +2 -0
index 96a4ca7d49..db4ffbe92a 100644
@@ -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 = ""