Add Glibc's GCC patch back again to fix a build issue on x86 hosts.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9790 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2012-03-27 19:54:59 +00:00
parent f3efd8b961
commit f7d98e8955
6 changed files with 33 additions and 2 deletions

View File

@ -36,6 +36,17 @@
</listitem> </listitem>
--> -->
<listitem>
<para>2012-03-27</para>
<itemizedlist>
<listitem>
<para>[matthew] - Add the GCC fix patch back to Glibc instructions
to fix a build issue on 32-bit hosts. Thanks to Pierre Labastie for
the report.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2012-03-26</para> <para>2012-03-26</para>
<itemizedlist> <itemizedlist>

View File

@ -227,6 +227,10 @@
<para>&gcc-startfiles-patch;</para> <para>&gcc-startfiles-patch;</para>
</listitem> </listitem>
<listitem>
<para>&glibc-gcc_fix-patch;</para>
</listitem>
</itemizedlist> </itemizedlist>
<itemizedlist> <itemizedlist>

View File

@ -66,6 +66,14 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>Glibc GCC Fix Patch - <token>&glibc-gcc_fix-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&glibc-gcc_fix-patch;"/></para>
<para>MD5 sum: <literal>&glibc-gcc_fix-patch-md5;</literal></para>
</listitem>
</varlistentry>
<!-- <!--
<varlistentry> <varlistentry>
<term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term> <term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term>

View File

@ -100,6 +100,9 @@ unset DL</userinput></screen>
<screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen> <screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
<para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
<para>The Glibc documentation recommends building Glibc outside of the source <para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para> directory in a dedicated build directory:</para>

View File

@ -1,5 +1,5 @@
<!ENTITY version "SVN-20120326"> <!ENTITY version "SVN-20120327">
<!ENTITY releasedate "Mar 26, 2012"> <!ENTITY releasedate "Mar 27, 2012">
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; --> <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.2"> <!ENTITY milestone "7.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

View File

@ -36,6 +36,11 @@
<!ENTITY gcc-startfiles-patch-size "1.5 KB"> <!ENTITY gcc-startfiles-patch-size "1.5 KB">
<!ENTITY glibc-gcc_fix-patch "glibc-&glibc-version;-gcc_fix-1.patch">
<!ENTITY glibc-gcc_fix-patch-md5 "d1f28cb98acb9417fe52596908bbb9fd">
<!ENTITY glibc-gcc_fix-patch-size "2.5 KB">
<!ENTITY grub-inode-patch "grub-&grub-version;-256byte_inode-1.patch"> <!ENTITY grub-inode-patch "grub-&grub-version;-256byte_inode-1.patch">
<!ENTITY grub-inode-patch-md5 "2482bef9c1866b4045767a56268ba673"> <!ENTITY grub-inode-patch-md5 "2482bef9c1866b4045767a56268ba673">
<!ENTITY grub-inode-patch-size "4.8 KB"> <!ENTITY grub-inode-patch-size "4.8 KB">