cgen 'gas-test' errors
Dave Brolley
brolley@redhat.com
Fri Feb 8 16:03:00 GMT 2008
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
More information about the Cgen
mailing list