This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
make check-sim problems with fr30 and m32r
- To: cgen at sourceware dot cygnus dot com
- Subject: make check-sim problems with fr30 and m32r
- From: Greg McGary <greg at mcgary dot org>
- Date: Tue, 20 Feb 2001 14:13:33 -0700
I am striving to setup a simulator testsuite for my port, so am
examining fr30 and m32r as models. Unfortunately, both fail their
testsuites completely for reasons I partially understand, but whose
cure I don't yet know.
I was (mis)led to believe that I could just configure, make, make
checks-sim and everything would just work. I have thrashed around
various README files in dejagnu/ sim/ and elsewhere but haven't
yet found the magic bullet.
I did the following from the directory that contains the Cygnus tree in `src':
------------------------------------------------------------------------------
$ mkdir HOST-i686-pc-linux,TARGET-m32r
$ cd HOST-i686-pc-linux,TARGET-m32r
$ ../src/configure --target=m32r-elf --enable-cgen-maint
$ make
$ make check-sim
... gory details omitted ...
=== sim Summary ===
# of unexpected failures 105
------------------------------------------------------------------------------
Everything fails.
Why? Let's try and find out:
------------------------------------------------------------------------------
$ make check-sim RUNTESTFLAGS='-v -v --debug'
...
WARNING: Assuming target board is the local machine (which is probably wrong).
You may need to set your DEJAGNU environment variable.
...
Executing on host: /1/redback/release/tools-src/cygnus-unified/HOST-i686-pc-linux,TARGET-m32r/ld/ld-new add.cgs.o -o add.cgs.x (timeout = 300)
pid is 13744 -13744
waitres is 13744 7 0 0
output is
Checking pattern "sparc-*-sunos*" with i686-pc-linux-gnu
Checking pattern "alpha*-*-*" with i686-pc-linux-gnu
Checking pattern "hppa*-*-hpux*" with i686-pc-linux-gnu
testcase timeout is set to 240
spawning command add.cgs.x
spawn of add.cgs.x failed
FAIL: m32r add.cgs
...
------------------------------------------------------------------------------
Hmmm. Of course these won't run natively!
Where's the invocation of sim/m32r/run ???
Is the missing DEJAGNU env variable at fault?
Clues appreciated,
Greg