From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29621 invoked by alias); 8 Feb 2008 16:03:03 -0000 Received: (qmail 29607 invoked by uid 22791); 8 Feb 2008 16:03:01 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Feb 2008 16:02:31 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m18G2Gld019051; Fri, 8 Feb 2008 11:02:16 -0500 Received: from pobox-3.corp.redhat.com (pobox-3.corp.redhat.com [10.11.255.67]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m18G2F1T027018; Fri, 8 Feb 2008 11:02:15 -0500 Received: from [127.0.0.1] (vpn-15-5.rdu.redhat.com [10.11.15.5]) by pobox-3.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m18G2DSR013912; Fri, 8 Feb 2008 11:02:15 -0500 Message-ID: <47AC7D0D.1060705@redhat.com> Date: Fri, 08 Feb 2008 16:03:00 -0000 From: Dave Brolley User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: Stelian Pop CC: cgen@sourceware.org Subject: Re: cgen 'gas-test' errors References: <1202308936.6176.20.camel@galileo> In-Reply-To: <1202308936.6176.20.camel@galileo> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00006.txt.bz2 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