This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"make gas-test" broken?


    Hi,

  I figured it was something I was doing wrong in my port, but maybe not;
seems to happen for any cpu I try, e.g.:


$ make gas-test ARCHFILE=/gnu/cgen/src/cgen/../cgen/cpu/play.cpu
"`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else
echo guile ; fi`" -l /gnu/cgen/src/cgen/guile.scm -s
/gnu/cgen/src/cgen/cgen-gas.scm \
                -s /gnu/cgen/src/cgen \
                -v \
                -a /gnu/cgen/src/cgen/../cgen/cpu/play.cpu \
                -i "all" \
                -m "all" \
                -B gas-build.sh \
                -E gas-allinsn.exp
Skipping slib/sort, already loaded.
Skipping slib/random, already loaded.
cgen -s /gnu/cgen/src/cgen/cgen-gas.scm -s /gnu/cgen/src/cgen -v -a
/gnu/cgen/src/cgen/../cgen/cpu/play.cpu -i all -m all -B gas-build.sh -E
gas-allinsn.exp
Loading cpu description /gnu/cgen/src/cgen/../cgen/cpu/play.cpu ...
Including file /gnu/cgen/src/cgen/../cgen/cpu/simplify.inc ...
Analyzing instruction set ...
Done analysis.
Generating gas-build.sh ...
ERROR: In procedure string-append:
ERROR: Wrong type (expecting string): fp
No backtrace available.
make: *** [gas-test] Error 1

$ make gas-test ARCHFILE=/gnu/cgen/src/cgen/../cgen/cpu/m68k.cpu
"`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else
echo guile ; fi`" -l /gnu/cgen/src/cgen/guile.scm -s
/gnu/cgen/src/cgen/cgen-gas.scm \
                -s /gnu/cgen/src/cgen \
                -v \
                -a /gnu/cgen/src/cgen/../cgen/cpu/m68k.cpu \
                -i "all" \
                -m "all" \
                -B gas-build.sh \
                -E gas-allinsn.exp
Skipping slib/sort, already loaded.
Skipping slib/random, already loaded.
cgen -s /gnu/cgen/src/cgen/cgen-gas.scm -s /gnu/cgen/src/cgen -v -a
/gnu/cgen/src/cgen/../cgen/cpu/m68k.cpu -i all -m all -B gas-build.sh -E
gas-allinsn.exp
Loading cpu description /gnu/cgen/src/cgen/../cgen/cpu/m68k.cpu ...
Including file /gnu/cgen/src/cgen/../cgen/cpu/simplify.inc ...
Analyzing instruction set ...
Done analysis.
Generating gas-build.sh ...
ERROR: In procedure string-append:
ERROR: Wrong type (expecting string): m68k
No backtrace available.
make: *** [gas-test] Error 1


  Hmm, until I saw that "m68k" I thought it was always pseudo-register names,
I've seen "fp" and "lr" before.  Anyway, manually invoking the guile command
while adding --debug doesn't help any with the backtrace.  I was following the
instructions in 5.7 of the manual; is there a list of interactive commands I
could run (like those in 5.5 and 5.8) manually that might help shed some light
on what's going wrong?

    cheers,
      DaveK



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