From: Wilco Dijkstra Date: Fri, 6 Jun 2025 13:15:30 +0000 (+0000) Subject: AArch64: Fix builderror with GCC 12.1/12.2 X-Git-Tag: glibc-2.42~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09795c5612c630db605886dfd55dbf56f381d128;p=thirdparty%2Fglibc.git AArch64: Fix builderror with GCC 12.1/12.2 Early versions of GCC 12 didn't support -mtune=neoverse-v2, so use -mtune=neoverse-v1 instead. Reported-by: Yury Khrustalev --- diff --git a/sysdeps/aarch64/fpu/Makefile b/sysdeps/aarch64/fpu/Makefile index 9efbe1f78d..068c11cccc 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)) \