GCC and Glibc patches

Mark Hymers markh at linuxfromscratch.org
Sat Sep 14 13:41:55 PDT 2002

On Fri, 13, Sep, 2002 at 08:36:10AM -0400, Gerard Beekmans spoke thus..
> Included Glibc:
> 	errlist fix
> 	dns resolver fix
> 	xdr_array fix
> 	calloc fix
> 	thread exit fix
> 	udivdi3 fix
> 	math test fix
> 	restric_arr fix
> 	divbyzero fix
> 	disable profile tweak
<snip not included; I added disable profile to the list above>
> Included GCC:
> 	HAVE_GAS_HIDDEN workaround
> 	copy fix
> 	var fix
> 	cxa_atexit tweak

Gerard, I strongly suggest we include this in LFS-4.0 so that people
*know* what they're using.  Obviously we only need to document the ones
whcih aren't explicit (i.e. we don't need to say we're using the
HAVE_GAS_HIDDEN / cxa_atexit / disable profile tweaks because people are
typing it in!).  But for the rest, I suggest we document it so that
people *know* what they're applying.

I've attached a patch to CVS to do this.

CC'd to lfs-dev; follow ups to whichever list is appropriate please.


Mark Hymers <markh at linuxfromscratch dot org>

"I never make predictions.  I never have and I never will."
     Tony Blair
-------------- next part --------------
Index: chapter05/gcc-exp.xml
RCS file: /home/cvsroot/LFS/BOOK/chapter05/gcc-exp.xml,v
retrieving revision 1.29
diff -u -r1.29 gcc-exp.xml
--- chapter05/gcc-exp.xml	30 Aug 2002 23:08:48 -0000	1.29
+++ chapter05/gcc-exp.xml	14 Sep 2002 20:41:30 -0000
@@ -2,9 +2,9 @@
 <title>Command explanations</title>
 <para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput>
-This patch fixes a few bugs. See
-<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/> for
-more details.</para>
+This patch fixes a few bugs. In particular it contains the "copy fix" and
+"var fix" documented at 
+<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
 <para><userinput>--prefix=/static:</userinput> This is NOT a typo.  GCC hard
 codes some paths while compiling and so we need to pass /static as the
Index: chapter06/glibc-exp.xml
RCS file: /home/cvsroot/LFS/BOOK/chapter06/glibc-exp.xml,v
retrieving revision 1.35
diff -u -r1.35 glibc-exp.xml
--- chapter06/glibc-exp.xml	26 Aug 2002 23:43:05 -0000	1.35
+++ chapter06/glibc-exp.xml	14 Sep 2002 20:41:30 -0000
@@ -13,9 +13,11 @@
 file</userinput> will fail, however it'll work fine if you use straight
-<para>The patch also contains a few bug fixes and security fixes. More
-details can be found on
-<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/></para>
+<para>The patch also contains a few bug fixes and security fixes.  In
+particular it contains the "errlist", "dns resolver", "xdr_array", "calloc",
+"thread exit", "udivdi3", "math test", "restrict_arr" and "divbyzero" fixes
+which are documented at
+<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/>.</para>
 <para><userinput>touch /etc/ld.so.conf:</userinput> One of the final steps
 of the Glibc installation is running ldconfig to update the dynamic loader

More information about the lfs-dev mailing list