This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: cgen 'gas-test' errors
- From: Dave Brolley <brolley at redhat dot com>
- To: Stelian Pop <stelian at popies dot net>
- Cc: cgen at sourceware dot org
- Date: Fri, 08 Feb 2008 11:02:21 -0500
- Subject: Re: cgen 'gas-test' errors
- References: <1202308936.6176.20.camel@galileo>
Stelian Pop wrote:
But even after applying the patch, it fails later with a runtime Scheme error:
make[1]: Entering directory `/tmp/build-cgen'
`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` -l ../cgen-20080101/cgen/guile.scm -s ../cgen-20080101/cgen/cgen-gas.scm \
-s ../cgen-20080101/cgen \
-v \
-a ../cgen-20080101/cgen/cpu/xc16x.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 ../cgen-20080101/cgen/cgen-gas.scm -s ../cgen-20080101/cgen -v -a ../cgen-20080101/cgen/cpu/xc16x.cpu -i all -m all -B gas-build.sh -E gas-allinsn.exp
Loading cpu description ../cgen-20080101/cgen/cpu/xc16x.cpu
Including file ../cgen-20080101/cgen/cpu/simplify.inc ...
Analyzing instruction set ...
Done analysis.
Generating gas-build.sh ...
ERROR: In procedure string-append:
ERROR: Wrong type argument (expecting STRINGP): dpp0
No backtrace available.
make[1]: *** [gas-test] Error 1
This is probably related to my version of guile (1.6 instead of 1.4)...
This generally happens when a newer version of guile does not
automatically convert some type to a string where an older version of
guile did. The fix is to find the offending code and insert an explicit
conversion to string.
I hope this helps,
Dave