diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 4 | ||||
-rw-r--r-- | chapter03/patches.xml | 8 | ||||
-rw-r--r-- | chapter05/gcc-pass1.xml | 18 | ||||
-rw-r--r-- | patches.ent | 5 |
5 files changed, 10 insertions, 29 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 0d1234f35..140a9656f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -41,6 +41,10 @@ <para>2012-03-14</para> <itemizedlist> <listitem> + <para>[matthew] - Remove GCC's cross-compile patch as it isn't + required.</para> + </listitem> + <listitem> <para>[matthew] - Apply new upstream patches for Bash. Fixes <ulink url="&lfs-ticket-root;3037">#3037</ulink>.</para> </listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 9c640130d..c80876d30 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -224,10 +224,6 @@ </listitem> <listitem> - <para>&gcc-crosscompile-patch;</para> - </listitem> - - <listitem> <para>&gcc-startfiles-patch;</para> </listitem> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 5d1db169a..926dc82f3 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -59,14 +59,6 @@ </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> <term>GCC Startfiles Fix Patch - <token>&gcc-startfiles-patch-size;</token>:</term> <listitem> <para>Download: <ulink url="&patches-root;&gcc-startfiles-patch;"/></para> diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index d3efd71d6..532bbae36 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -62,12 +62,6 @@ mv -v gmp-&gmp-version; gmp tar -zxf ../mpc-&mpc-version;.tar.gz 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 source directory in a dedicated build directory:</para> @@ -88,8 +82,6 @@ cd ../gcc-build</userinput></screen> --disable-libssp \ --disable-libgomp \ --disable-libquadmath \ - --disable-target-libiberty \ - --disable-target-zlib \ --enable-languages=c \ --without-ppl \ --without-cloog \ @@ -109,13 +101,13 @@ cd ../gcc-build</userinput></screen> </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> <para>These switches disable support for the decimal floating point - extension, threading, libmudflap, libssp and libgomp, libquadmath, - libiberty and zlib respectively. These features will fail to compile - when building a cross-compiler and are not necessary for the task of - cross-compiling the temporary libc.</para> + extension, threading, libmudflap, libssp and libgomp and libquadmath + respectively. These features will fail to compile when building a + cross-compiler and are not necessary for the task of cross-compiling + the temporary libc.</para> </listitem> </varlistentry> diff --git a/patches.ent b/patches.ent index 6ace4254e..684e0c442 100644 --- a/patches.ent +++ b/patches.ent @@ -31,14 +31,11 @@ <!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-md5 "799ef1971350d2e3c794f2123f247cc6"> <!ENTITY gcc-startfiles-patch-size "1.5 KB"> + <!ENTITY glibc-fixes-patch "glibc-&glibc-version;-fixes-1.patch"> <!ENTITY glibc-fixes-patch-md5 "13bdfb7db1654d9c3d7934d24479a6c4"> <!ENTITY glibc-fixes-patch-size "5.5 KB"> |