Remove GCC's cross-compile patch as it isn't required.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2012-03-14 20:50:17 +00:00
parent 088d886292
commit 8ab73858c4
5 changed files with 10 additions and 29 deletions

View File

@ -40,6 +40,10 @@
<listitem> <listitem>
<para>2012-03-14</para> <para>2012-03-14</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[matthew] - Remove GCC's cross-compile patch as it isn't
required.</para>
</listitem>
<listitem> <listitem>
<para>[matthew] - Apply new upstream patches for Bash. Fixes <para>[matthew] - Apply new upstream patches for Bash. Fixes
<ulink url="&lfs-ticket-root;3037">#3037</ulink>.</para> <ulink url="&lfs-ticket-root;3037">#3037</ulink>.</para>

View File

@ -223,10 +223,6 @@
<para>&bash-fixes-patch;</para> <para>&bash-fixes-patch;</para>
</listitem> </listitem>
<listitem>
<para>&gcc-crosscompile-patch;</para>
</listitem>
<listitem> <listitem>
<para>&gcc-startfiles-patch;</para> <para>&gcc-startfiles-patch;</para>
</listitem> </listitem>

View File

@ -58,14 +58,6 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>GCC Cross Compile Patch - <token>&gcc-crosscompile-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&gcc-crosscompile-patch;"/></para>
<para>MD5 sum: <literal>&gcc-crosscompile-patch-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>GCC Startfiles Fix Patch - <token>&gcc-startfiles-patch-size;</token>:</term> <term>GCC Startfiles Fix Patch - <token>&gcc-startfiles-patch-size;</token>:</term>
<listitem> <listitem>

View File

@ -62,12 +62,6 @@ mv -v gmp-&gmp-version; gmp
tar -zxf ../mpc-&mpc-version;.tar.gz tar -zxf ../mpc-&mpc-version;.tar.gz
mv -v mpc-&mpc-version; mpc</userinput></screen> mv -v mpc-&mpc-version; mpc</userinput></screen>
<para>Apply a patch that will allow the building of the libiberty and zlib
target libraries to be disabled as these do not build correctly in a
cross-compiled environment:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&gcc-crosscompile-patch;</userinput></screen>
<para>The GCC documentation recommends building GCC outside of the <para>The GCC documentation recommends building GCC outside of the
source directory in a dedicated build directory:</para> source directory in a dedicated build directory:</para>
@ -88,8 +82,6 @@ cd ../gcc-build</userinput></screen>
--disable-libssp \ --disable-libssp \
--disable-libgomp \ --disable-libgomp \
--disable-libquadmath \ --disable-libquadmath \
--disable-target-libiberty \
--disable-target-zlib \
--enable-languages=c \ --enable-languages=c \
--without-ppl \ --without-ppl \
--without-cloog \ --without-cloog \
@ -109,13 +101,13 @@ cd ../gcc-build</userinput></screen>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath --disable-target-libiberty --disable-target-zlib</parameter></term> <term><parameter>--disable-decimal-float, --disable-threads, --disable-libmudflap, --disable-libssp, --disable-libgomp, --disable-libquadmath</parameter></term>
<listitem> <listitem>
<para>These switches disable support for the decimal floating point <para>These switches disable support for the decimal floating point
extension, threading, libmudflap, libssp and libgomp, libquadmath, extension, threading, libmudflap, libssp and libgomp and libquadmath
libiberty and zlib respectively. These features will fail to compile respectively. These features will fail to compile when building a
when building a cross-compiler and are not necessary for the task of cross-compiler and are not necessary for the task of cross-compiling
cross-compiling the temporary libc.</para> the temporary libc.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -31,14 +31,11 @@
<!ENTITY flex-gcc-patch-size "1 KB"> <!ENTITY flex-gcc-patch-size "1 KB">
<!ENTITY gcc-crosscompile-patch "gcc-&gcc-version;-cross_compile-1.patch">
<!ENTITY gcc-crosscompile-patch-md5 "1b7886a7a4df3a48617e88a481862264">
<!ENTITY gcc-crosscompile-patch-size "1.8 KB">
<!ENTITY gcc-startfiles-patch "gcc-&gcc-version;-startfiles_fix-1.patch"> <!ENTITY gcc-startfiles-patch "gcc-&gcc-version;-startfiles_fix-1.patch">
<!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6"> <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
<!ENTITY gcc-startfiles-patch-size "1.5 KB"> <!ENTITY gcc-startfiles-patch-size "1.5 KB">
<!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-1.patch"> <!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-1.patch">
<!ENTITY glibc-fixes-patch-md5 "13bdfb7db1654d9c3d7934d24479a6c4"> <!ENTITY glibc-fixes-patch-md5 "13bdfb7db1654d9c3d7934d24479a6c4">
<!ENTITY glibc-fixes-patch-size "5.5 KB"> <!ENTITY glibc-fixes-patch-size "5.5 KB">