public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* "make check" doesn't work on RedHat 9?
@ 2003-05-09 18:07 H. J. Lu
  2003-05-09 18:16 ` Elena Zannoni
  2003-05-09 18:18 ` Daniel Jacobowitz
  0 siblings, 2 replies; 6+ messages in thread
From: H. J. Lu @ 2003-05-09 18:07 UTC (permalink / raw)
  To: GDB

Does "make check" work RedHat 9? I got

Running /export/gnu/src/gdb/gdb/gdb/testsuite/gdb.base/printcmds.exp ...
ERROR: (DejaGnu) proc "setup_kfail gdb/538 *-*-*" does not exist.
The error code is NONE
The info on the error is:
close: spawn id exp6 not open
    while executing
"close -i exp6"
    invoked from within


RedHat 9 has dejagnu 1.4.2. I was told dejagnu 1.4.3 and cvs doesn't
work with binutils:

http://sources.redhat.com/ml/binutils/2003-05/msg00248.html


H.J.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "make check" doesn't work on RedHat 9?
  2003-05-09 18:07 "make check" doesn't work on RedHat 9? H. J. Lu
@ 2003-05-09 18:16 ` Elena Zannoni
  2003-05-09 18:18 ` Daniel Jacobowitz
  1 sibling, 0 replies; 6+ messages in thread
From: Elena Zannoni @ 2003-05-09 18:16 UTC (permalink / raw)
  To: H. J. Lu; +Cc: GDB

H. J. Lu writes:
 > Does "make check" work RedHat 9? I got
 > 
 > Running /export/gnu/src/gdb/gdb/gdb/testsuite/gdb.base/printcmds.exp ...
 > ERROR: (DejaGnu) proc "setup_kfail gdb/538 *-*-*" does not exist.
 > The error code is NONE
 > The info on the error is:
 > close: spawn id exp6 not open
 >     while executing
 > "close -i exp6"
 >     invoked from within
 > 
 > 
 > RedHat 9 has dejagnu 1.4.2. I was told dejagnu 1.4.3 and cvs doesn't
 > work with binutils:
 > 
 > http://sources.redhat.com/ml/binutils/2003-05/msg00248.html
 > 
 > 
 > H.J.

The dejagnu that ships with RHL9 doesn't have the kfail stuff in it.

elena

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "make check" doesn't work on RedHat 9?
  2003-05-09 18:07 "make check" doesn't work on RedHat 9? H. J. Lu
  2003-05-09 18:16 ` Elena Zannoni
@ 2003-05-09 18:18 ` Daniel Jacobowitz
  2003-05-09 18:32   ` H. J. Lu
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-05-09 18:18 UTC (permalink / raw)
  To: H. J. Lu; +Cc: GDB

On Fri, May 09, 2003 at 11:07:06AM -0700, H. J. Lu wrote:
> Does "make check" work RedHat 9? I got
> 
> Running /export/gnu/src/gdb/gdb/gdb/testsuite/gdb.base/printcmds.exp ...
> ERROR: (DejaGnu) proc "setup_kfail gdb/538 *-*-*" does not exist.
> The error code is NONE
> The info on the error is:
> close: spawn id exp6 not open
>     while executing
> "close -i exp6"
>     invoked from within
> 
> 
> RedHat 9 has dejagnu 1.4.2. I was told dejagnu 1.4.3 and cvs doesn't
> work with binutils:
> 
> http://sources.redhat.com/ml/binutils/2003-05/msg00248.html

I don't know what that problem is.  No one investigated it.

I use 1.4.3 all the time.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "make check" doesn't work on RedHat 9?
  2003-05-09 18:18 ` Daniel Jacobowitz
@ 2003-05-09 18:32   ` H. J. Lu
  2003-05-09 19:06     ` PATCH: Fix dejagnu H. J. Lu
  0 siblings, 1 reply; 6+ messages in thread
From: H. J. Lu @ 2003-05-09 18:32 UTC (permalink / raw)
  To: GDB

On Fri, May 09, 2003 at 02:18:26PM -0400, Daniel Jacobowitz wrote:
> On Fri, May 09, 2003 at 11:07:06AM -0700, H. J. Lu wrote:
> > Does "make check" work RedHat 9? I got
> > 
> > Running /export/gnu/src/gdb/gdb/gdb/testsuite/gdb.base/printcmds.exp ...
> > ERROR: (DejaGnu) proc "setup_kfail gdb/538 *-*-*" does not exist.
> > The error code is NONE
> > The info on the error is:
> > close: spawn id exp6 not open
> >     while executing
> > "close -i exp6"
> >     invoked from within
> > 
> > 
> > RedHat 9 has dejagnu 1.4.2. I was told dejagnu 1.4.3 and cvs doesn't
> > work with binutils:
> > 
> > http://sources.redhat.com/ml/binutils/2003-05/msg00248.html
> 
> I don't know what that problem is.  No one investigated it.
> 
> I use 1.4.3 all the time.

I installed 1.4.3 on RedHat 9. It works with binutils. It may be a ppc
specific problem.


H.J.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* PATCH: Fix dejagnu
  2003-05-09 18:32   ` H. J. Lu
@ 2003-05-09 19:06     ` H. J. Lu
  0 siblings, 0 replies; 6+ messages in thread
From: H. J. Lu @ 2003-05-09 19:06 UTC (permalink / raw)
  To: GDB; +Cc: dejagnu

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

On Fri, May 09, 2003 at 11:32:50AM -0700, H. J. Lu wrote:
> > 
> > I use 1.4.3 all the time.
> 
> I installed 1.4.3 on RedHat 9. It works with binutils. It may be a ppc
> specific problem.
> 

I am very amazed that 1.4.3 works. I need the patch enclosed here.
Otherwise, it will pick the wrong runtest.exp.


H.J.

[-- Attachment #2: dejagnu-break.patch --]
[-- Type: text/plain, Size: 434 bytes --]

2003-05-09  H.J. Lu <hongjiu.lu@intel.com>

	* runtest: Fix a typo.

--- dejagnu/runtest.break	2002-02-09 22:17:36.000000000 -0800
+++ dejagnu/runtest	2003-05-09 11:54:50.000000000 -0700
@@ -104,8 +104,8 @@ for i in `echo ${execpath} | sed  -e 's@
 	runpath=$i
 	if expr $verbose \> 0 > /dev/null ; then
 	    echo Using $i/runtest.exp as main test driver
-	    break;
 	fi
+	break;
     fi
 done
 # check for an environment variable

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: "make check" doesn't work on RedHat 9?
@ 2003-05-09 18:12 Michael Elizabeth Chastain
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Elizabeth Chastain @ 2003-05-09 18:12 UTC (permalink / raw)
  To: gdb, hjl

gdb requires dejagnu 1.4.3 or sourceware dejagnu (which is very close to
1.4.3), because of the new kfail features found in 1.4.3.

I just install dejagnu 1.4.3 in its own directory and then add that
directory to my $PATH when I test gdb.  I also do that with bison,
flex, gnu make, binutils, and gcc.  It's blunt but it works for me.

Michael C

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-09 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09 18:07 "make check" doesn't work on RedHat 9? H. J. Lu
2003-05-09 18:16 ` Elena Zannoni
2003-05-09 18:18 ` Daniel Jacobowitz
2003-05-09 18:32   ` H. J. Lu
2003-05-09 19:06     ` PATCH: Fix dejagnu H. J. Lu
2003-05-09 18:12 "make check" doesn't work on RedHat 9? Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).