Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Nikita Schmidt <cetus@snowball.ucd.ie>
Subject: Re: libg++2.7.2.1
Date: Wed, 16 Apr 1997 23:11:01 +0100	[thread overview]
Message-ID: <0e40e048da726f57ef2c7d6eb99ee357.axp-list@archive.invalid> (raw)
In-Reply-To: <9704161612.ZM29453@fabsoft2.zarm.uni-bremen.de>

On Apr 16, Zarmfab Software Development wrote:
> 
> could you tell me which version of gcc and glibc you were using ?
> At my box using glibc-2.02 and  gcc 2.7.2.1, g++ segfaults during the build.
> 

I use glibc-2.0.2 and gcc-2.7.2.2 with a small patch that prevents it
from segfaulting while building exception handling stuff in libg++.  I
posted that patch some days ago in axp-list.  I'm not 100% sure it is
the correct way to deal with that bug (that's why I was asking for
comments on the list).  I wonder how RedHat works around this problem.
Anyway, here's the patch again:

--- config/alpha/alpha.c.orig	Sat Apr  5 19:47:42 1997
+++ config/alpha/alpha.c	Sat Apr  5 20:00:50 1997
@@ -1011,9 +1011,10 @@
   /* We don't know how to back up arbitrary frames.  */
   assert (count == 0);
 
-  if (reg_set_between_p(r26, first_insn, last_insn)
-      /* between is unfortunately not inclusive */
-      || reg_set_p(r26, last_insn))
+  if (first_insn
+      && (reg_set_between_p(r26, first_insn, last_insn)
+          /* between is unfortunately not inclusive */
+          || reg_set_p(r26, last_insn)))
     {
       /* Bits higher up hardcode to the hard frame pointer, so be prepared.  */
       alpha_frame_pointer_required = 1;

-----
	Kit

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-04-16 22:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9704161612.ZM29453@fabsoft2.zarm.uni-bremen.de>
1997-04-16 22:11 ` Nikita Schmidt [this message]
     [not found] <19970416140537.01067@snowball.ucd.ie>
1997-04-16 14:12 ` libg++2.7.2.1 Zarmfab Software Development
1997-04-16  0:48 libg++2.7.2.1 Steven Kokinos
1997-04-16 13:05 ` libg++2.7.2.1 Nikita Schmidt
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox