This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: libgcc-compat patch and gcc 2.95.4 on ppclinux
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: libc-alpha at sources dot redhat dot com, hjl at lucon dot org
- Date: Sat, 13 Jul 2002 10:22:28 -0400 (EDT)
- Subject: Re: libgcc-compat patch and gcc 2.95.4 on ppclinux
HJ,
Why don't you submit something more like the first patch
you asked me to test instead?
--- libc/sysdeps/powerpc/libgcc-compat.c.gcc Mon May 20 17:19:09 2002
+++ libc/sysdeps/powerpc/libgcc-compat.c Fri Jul 12 17:06:39 2002
@@ -19,6 +19,8 @@
#include <stdint.h>
+
+#if __GNUC_PREREQ (3,1)
#include <shlib-compat.h>
#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_2_6)
@@ -111,3 +113,4 @@ float INTUSE (__floatdisf) (int64_t u)
symbol_version (INTUSE (__floatdisf), __floatdisf, GLIBC_2.0);
#endif
+#endif
After all what does compiling libgcc-compat gain you anyway for
compilers before gcc 3.1 since those all suffer the glitch
of linking in these offending symbols from libgcc. The only part
that concerns me with the patch above is if it will work for
gcc 3.2 and above (ie will libgcc-compat get compiled in that
case).
Jack