This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]