diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index d88a439be..d0ca93d5d 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -15,7 +15,7 @@ noautobuild=1 pkgname=glibc pkgver=2.32 -pkgrel=3 +pkgrel=4 arch=(x86_64) url='https://www.gnu.org/software/libc' license=(GPL LGPL) @@ -26,7 +26,8 @@ options=(!strip staticlibs !distcc) source=(https://ftp.gnu.org/gnu/glibc/glibc-$pkgver.tar.xz{,.sig} locale.gen.txt locale-gen - sdt.h sdt-config.h) + sdt.h sdt-config.h + bz26534.patch) validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8 # Carlos O'Donell BC7C7372637EC10C57D7AA6579C43DFBF1CF2187) # Siddhesh Poyarekar md5sums=('720c7992861c57cf97d66a2f36d8d1fa' @@ -34,7 +35,8 @@ md5sums=('720c7992861c57cf97d66a2f36d8d1fa' '07ac979b6ab5eeb778d55f041529d623' '476e9113489f93b348b21e144b6a8fcf' '91fec3b7e75510ae2ac42533aa2e695e' - '680df504c683640b02ed4a805797c0b2') + '680df504c683640b02ed4a805797c0b2' + 'fc57038c1297c7c11258e8dda1623ec2') prepare() { mkdir -p glibc-build diff --git a/core/glibc/bz26534.patch b/core/glibc/bz26534.patch new file mode 100644 index 000000000..5a2fdd8e2 --- /dev/null +++ b/core/glibc/bz26534.patch @@ -0,0 +1,11 @@ +--- a/sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h 2020-08-25 15:08:15.049364392 +0200 ++++ b/sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h 2020-08-25 15:08:20.012697875 +0200 +@@ -32,7 +32,7 @@ + && CPU_FEATURE_USABLE_P (cpu_features, AVX2)) + return OPTIMIZE (fma); + +- if (CPU_FEATURE_USABLE_P (cpu_features, FMA)) ++ if (CPU_FEATURE_USABLE_P (cpu_features, FMA4)) + return OPTIMIZE (fma4); + + return OPTIMIZE (sse2);