[COMMITTED] AArch64: Fix builderror with GCC 12.1/12.2
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Fri Jun 6 13:24:35 GMT 2025
Early versions of GCC 12 didn't support -mtune=neoverse-v2, so use
-mtune=neoverse-v1 instead.
Reported-by: Yury Khrustalev <yury.khrustalev@arm.com>
Committed as obvious.
---
diff --git a/sysdeps/aarch64/fpu/Makefile b/sysdeps/aarch64/fpu/Makefile
index 9efbe1f78dad38bcea8f3fbf10f5b7079212d9a5..068c11cccc4decb9eba6d1ce1819c9cb35332234 100644
--- a/sysdeps/aarch64/fpu/Makefile
+++ b/sysdeps/aarch64/fpu/Makefile
@@ -60,7 +60,7 @@ endif
# add a generic -mcpu and -march with SVE enabled. Also use a tune for a modern
# SVE core.
-sve-cflags = -mcpu=generic+sve -march=armv8-a+sve -mtune=neoverse-v2
+sve-cflags = -mcpu=generic+sve -march=armv8-a+sve -mtune=neoverse-v1
ifeq ($(build-mathvec),yes)
bench-libmvec = $(addprefix float-advsimd-,$(float-advsimd-funcs)) \
More information about the Libc-alpha
mailing list