From adcad3968ca92040af2fc55a6ce9533c7b571569 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 31 May 2025 19:08:08 +0800 Subject: [PATCH] mips64el: Revert "mips64el: gcc: Fix an issue causing runtime failures with Glibc >= 2.41" This reverts commit e5c36a3456ef665cccd7b1be11d64ab2ab737d40. Already included in GCC 15. --- chapter05/gcc-pass1.xml | 8 -------- chapter06/gcc-pass2.xml | 6 ------ chapter08/gcc.xml | 5 ----- 3 files changed, 19 deletions(-) diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index b47e822dc..11c9e47c8 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -43,14 +43,6 @@ Installation of Cross GCC - - At first, fix an issue causing runtime failures with Glibc-2.41 or - newer: - - sed '/mips16.S/s|^//||' -i libgcc/config/mips/lib1funcs.S - GCC requires the GMP, MPFR and MPC packages. As these packages may not be included in your host distribution, they will be built with GCC. Unpack each package into the GCC source directory and rename the diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index 22f7eb77a..a33eb2fcf 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -47,12 +47,6 @@ patch -Np1 -i ../&gcc-upstream-fixes-patch; --> - - Again, fix the issue causing runtime failures with Glibc-2.41 or - newer: - - sed '/mips16.S/s|^//||' -i libgcc/config/mips/lib1funcs.S - As in the first build of GCC, the GMP, MPFR, and MPC packages are required. Unpack the tarballs and move them into the required directories: diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index f53116246..80368a31a 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -41,11 +41,6 @@ Installation of GCC - Again, fix the issue causing runtime failures with Glibc-2.41 or - newer: - - sed '/mips16.S/s|^//||' -i libgcc/config/mips/lib1funcs.S - For building on 64-bit MIPS, change the default directory name for 64-bit libraries to lib: