bootstrap/4068: [linux-x86] bootstrapping on libc5 systems
Joseph S. Myers
jsm28@cam.ac.uk
Wed Nov 27 08:04:00 GMT 2002
The following reply was made to PR bootstrap/4068; it has been noted by GNATS.
From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: <bangerth@dealii.org>, <gcc-bugs@gcc.gnu.org>, <mengel@fnal.gov>,
<nobody@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Re: bootstrap/4068: [linux-x86] bootstrapping on libc5 systems
Date: Tue, 19 Nov 2002 23:49:07 +0000 (GMT)
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
More information about the Gcc-prs
mailing list