shenki's glibc patch adapted to 2.36.1 for bookworm
authorSadoon Albader <sadoon@soulserv.xyz>
Fri, 18 Aug 2023 16:18:51 +0000 (19:18 +0300)
committerSadoon Albader <sadoon@soulserv.xyz>
Fri, 18 Aug 2023 16:18:51 +0000 (19:18 +0300)
sysdeps/powerpc/powerpc64/le/Implies-before
sysdeps/powerpc/powerpc64/le/Makefile
sysdeps/powerpc/powerpc64/le/configure
sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile

index 2139f4dae88b1c4a3f40411d194f1e1aca462181..8fbed8b898d6f8da95b75d490700d864181b638e 100644 (file)
@@ -1,7 +1,7 @@
 # On PowerPC we use the IBM extended long double format.
-ieee754/ldbl-128ibm-compat
+#ieee754/ldbl-128ibm-compat
 ieee754/ldbl-128ibm
 ieee754/ldbl-opt
 ieee754/dbl-64
 ieee754/flt-32
-ieee754/float128
+#ieee754/float128
index 7c036b45fcc0d7f9b6663ae3356f14d7bf8a4477..11f831838e61a03293331587853b2fbb7e044b80 100644 (file)
@@ -55,6 +55,8 @@ endif # ifeq ($(ibm128-fcts),yes)
 # GCC BZ 84914, and marked as will-not-fix.
 type-float128-CFLAGS += $(type-ldouble-CFLAGS)
 
+type-float128-CFLAGS =
+
 ifeq ($(subdir),math)
 # sqrtf128 requires emulation before POWER9.
 CPPFLAGS += -I../soft-fp
index 395f9f730981beb8995cebb47874d4d641ea11b4..e1903da6bc6bf4cbe4c552f14bd10ff471f219ac 100644 (file)
@@ -27,9 +27,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_target_power8_ok" >&5
 $as_echo "$libc_cv_target_power8_ok" >&6; }
-if test "$libc_cv_target_power8_ok" != "yes"; then :
-  critic_missing="$critic_missing POWER8 or newer is required on powerpc64le."
-fi
+#if test "$libc_cv_target_power8_ok" != "yes"; then :
+#  critic_missing="$critic_missing POWER8 or newer is required on powerpc64le."
+#fi
 CFLAGS="$OLD_CFLAGS"
 
 OLD_CFLAGS="$CFLAGS"
@@ -65,7 +65,7 @@ if ${libc_cv_compiler_powerpc64le_ice+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   save_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -mabi=ieeelongdouble -Wno-psabi"
+#CFLAGS="$CFLAGS -mabi=ieeelongdouble -Wno-psabi"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -96,7 +96,7 @@ if ${libc_cv_compiler_powerpc64le_ldbl128_mabi+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   save_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -mabi=ieeelongdouble -mlong-double-128"
+#CFLAGS="$CFLAGS -mabi=ieeelongdouble -mlong-double-128"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
index cc073b53d3292ff8d769b6cc0c21ec82594736a2..c91b466d80f8984529854526b4b76082ed1199ea 100644 (file)
@@ -6,7 +6,7 @@ ifeq ($(subdir),math)
 ifneq (yes,$(libc-submachine-power9))
 do_f128_multiarch = yes
 endif
-
+do_f128_multiarch = no
 #
 # This is an ugly, but contained, mechanism to provide hardware optimized
 # _Float128 and ldouble == ieee128 optimized routines for P9 and beyond