This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/4068: [linux-x86] bootstrapping on libc5 systems
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: <bangerth at dealii dot org>, <gcc-bugs at gcc dot gnu dot org>, <mengel at fnal dot gov>, <nobody at gcc dot gnu dot org>, <gcc-gnats at gcc dot gnu dot org>
- Date: Tue, 19 Nov 2002 23:49:07 +0000 (GMT)
- Subject: Re: bootstrap/4068: [linux-x86] bootstrapping on libc5 systems
On 19 Nov 2002 bangerth@dealii.org wrote:
> Old Synopsis: bootstrap fails on older Linux (Red Hat 5.2)
> New Synopsis: [linux-x86] bootstrapping on libc5 systems
The problem systems are specifically glibc 2.0, not libc5. For it
possibly to work the patch implied by the discussion I referenced is
needed - i.e.
--- gcc/config/i386/linux.h.orig Fri Nov 15 14:57:12 2002
+++ gcc/config/i386/linux.h Tue Nov 19 23:47:16 2002
@@ -228,7 +228,7 @@
signal-turned-exceptions for them. There's also no configure-run for
the target, so we can't check on (e.g.) HAVE_SYS_UCONTEXT_H. Using the
target libc1 macro should be enough. */
-#ifndef USE_GNULIBC_1
+#if !(defined (USE_GNULIBC_1) || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0))
#include <signal.h>
#include <sys/ucontext.h>
--
Joseph S. Myers
jsm28@cam.ac.uk