From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0e40e048da726f57ef2c7d6eb99ee357.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199704162045.OAA10433@elvira.lanl.gov> Date: Wed, 16 Apr 1997 23:11:01 +0100 From: Nikita Schmidt Subject: Re: libg++2.7.2.1 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