This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

DejaGnu 1.4.1 fix


Rob, please find below a patch that fixes a problem in DejaGnu 1.4.1.

(Apparently this fix is in Red Hat's package, but not in the CVS sources
of DejaGnu.)

Hope this helps,
Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

---------- Forwarded message ----------
From: Jakub Jelinek <jakub@redhat.com>
To: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Cc: ab@chaos2.streamgroup.co.uk, Mailing List - GCC <gcc@gcc.gnu.org>
Date: Fri, 7 Sep 2001 12:29:35 +0200
Subject: Re: 2.95.4 testsuite problems
Sender: gcc-owner@gcc.gnu.org

On Fri, Sep 07, 2001 at 11:09:02AM +0200, Franz Sirl wrote:
> At 10:54 07.09.2001, ab@chaos2.streamgroup.co.uk wrote:
> >There seems to be problems with the testsuite. When I configured the
> >software in a build directory, it didn't seem to copy the testsuite over,
> >and when I tried to fix it by manually copying the testsuite over,
> >dejagnu didn't seem to like it too well.
> >
> >I'm using dejagnu 1.4.1. If you need further details, give me a shout.
>
> 1.4.1 from redhat rawhide/roswell? I never got that to work, try 1.4.

This was fixed already in our rpm. dejagnu 1.4.1 from ftp.gnu.org contains a
typo (this regsub does not appear in CVS dejagnu on sources though):

--- dejagnu-1.4.1/lib/target.exp.jj	Fri Apr 20 10:06:08 2001
+++ dejagnu-1.4.1/lib/target.exp	Fri Sep  7 12:27:10 2001
@@ -272,8 +272,7 @@ proc prune_warnings { text } {
     regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text

     # Cygwin cc1 warns about -fpic and -fPIC
-    regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text ""
-text
+    regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text

     # It might be tempting to get carried away and delete blank lines, etc.
     # Just delete *exactly* what we're ask to, and that's it.

	Jakub


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