mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-22 20:25:04 +01:00
loongarch: Revert "loongarch: gcc: Apply an upstream change to prevent the linker from generating illegal instructions"
This reverts commit 4ac095c78b
.
The change is included in GCC >= 14.1.
This commit is contained in:
parent
a8debbb47b
commit
12632200df
@ -43,14 +43,6 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Cross GCC</title>
|
<title>Installation of Cross GCC</title>
|
||||||
|
|
||||||
<!-- https://gcc.gnu.org/r14-4674 -->
|
|
||||||
<para>At first, fix an issue producing illegal instructions in linked
|
|
||||||
executables and shared libraries with GCC &gcc-version; and
|
|
||||||
Binutils-2.42:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
|
|
||||||
-i gcc/config/loongarch/loongarch.h</userinput></screen>
|
|
||||||
|
|
||||||
<para>GCC requires the GMP, MPFR and MPC packages. As these packages may
|
<para>GCC requires the GMP, MPFR and MPC packages. As these packages may
|
||||||
not be included in your host distribution, they will be built with
|
not be included in your host distribution, they will be built with
|
||||||
GCC. Unpack each package into the GCC source directory and rename the
|
GCC. Unpack each package into the GCC source directory and rename the
|
||||||
|
@ -47,15 +47,6 @@
|
|||||||
|
|
||||||
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
|
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-fixes-patch;</userinput></screen>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- https://gcc.gnu.org/r14-4674 -->
|
|
||||||
<para>Again, fix an issue producing illegal instructions in linked
|
|
||||||
executables and shared libraries with GCC &gcc-version; and
|
|
||||||
Binutils-2.42:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
|
|
||||||
-i gcc/config/loongarch/loongarch.h</userinput></screen>
|
|
||||||
|
|
||||||
<para>As in the first build of GCC, the GMP, MPFR, and MPC packages are
|
<para>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:</para>
|
required. Unpack the tarballs and move them into the required directories:</para>
|
||||||
|
|
||||||
|
@ -41,14 +41,6 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of GCC</title>
|
<title>Installation of GCC</title>
|
||||||
|
|
||||||
<!-- https://gcc.gnu.org/r14-4674 -->
|
|
||||||
<para>Again, fix an issue producing illegal instructions in linked
|
|
||||||
executables and shared libraries with GCC &gcc-version; and
|
|
||||||
Binutils-2.42:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap='pre'>sed -e '/ASM_OUTPUT_ALIGN_WITH_NOP/,+1d' \
|
|
||||||
-i gcc/config/loongarch/loongarch.h</userinput></screen>
|
|
||||||
|
|
||||||
<para>Set the default directory name for
|
<para>Set the default directory name for
|
||||||
64-bit libraries to <quote>lib</quote>:</para>
|
64-bit libraries to <quote>lib</quote>:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user