From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#24180: [PATCH] Recognize alpha as compilation target Date: Mon, 08 Aug 2016 22:21:20 +0200 Message-ID: <87r39zm2pr.fsf@pobox.com> References: <20160807202422.70165-1-jrtc27@jrtc27.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470687746 838 195.159.176.226 (8 Aug 2016 20:22:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2016 20:22:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: 24180-done@debbugs.gnu.org To: James Clarke Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Aug 08 22:22:22 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWr3z-0008Tm-KJ for guile-bugs@m.gmane.org; Mon, 08 Aug 2016 22:22:19 +0200 Original-Received: from localhost ([::1]:59566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWr3w-0005FE-HZ for guile-bugs@m.gmane.org; Mon, 08 Aug 2016 16:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWr3n-0005EY-B6 for bug-guile@gnu.org; Mon, 08 Aug 2016 16:22:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWr3i-0004PB-So for bug-guile@gnu.org; Mon, 08 Aug 2016 16:22:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWr3i-0004Oz-NF for bug-guile@gnu.org; Mon, 08 Aug 2016 16:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWr3i-0005UL-Is for bug-guile@gnu.org; Mon, 08 Aug 2016 16:22:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Mon, 08 Aug 2016 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24180 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Mail-Followup-To: 24180@debbugs.gnu.org, wingo@pobox.com, jrtc27@jrtc27.com Original-Received: via spool by 24180-done@debbugs.gnu.org id=D24180.147068769221053 (code D ref 24180); Mon, 08 Aug 2016 20:22:02 +0000 Original-Received: (at 24180-done) by debbugs.gnu.org; 8 Aug 2016 20:21:32 +0000 Original-Received: from localhost ([127.0.0.1]:60366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWr3D-0005TV-Vd for submit@debbugs.gnu.org; Mon, 08 Aug 2016 16:21:32 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:51139 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWr3C-0005TN-JU for 24180-done@debbugs.gnu.org; Mon, 08 Aug 2016 16:21:31 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 6FB0C2FCAB; Mon, 8 Aug 2016 16:21:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=esJBL6Omu9VBLbDgZW1Jp94iifk=; b=MNZAnl CD9KDfLARPnVYOhdHs4N4OAvlm1xv+U3AuoCkdYjyj+nIwX0q031/nFLLuN0Pbnj 4yVIz6PEHpL23DgI/lvO+rrkVfcU/vAGifsL/TNA6VRRRX+mrhZRnnWUtQyA+Maw 8qqmwOPgjFD0+NXcjso4FDMRb1TGqO+NeB5C8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=jtQCl9sTj7o2+D93ds+6OOU6qrxtKCjd z/EeyoCQw9AER6qSNVVLJS6U/BuLUCb+AB8HmaCfmyIKW7YbqBa2oikeSOaBy7cF XEbVUlZBVrT2lUjLiwOMRykoDMCGgn2LUgQo8XLoRBk3ObTlKu3CTqPWDOo6iyBl yF8TlIh72bI= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 551CF2FCA9; Mon, 8 Aug 2016 16:21:29 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 6311F2FCA8; Mon, 8 Aug 2016 16:21:28 -0400 (EDT) In-Reply-To: <20160807202422.70165-1-jrtc27@jrtc27.com> (James Clarke's message of "Sun, 7 Aug 2016 21:24:22 +0100") X-Pobox-Relay-ID: B01E14B4-5DA5-11E6-8587-C1836462E9F6-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8363 Archived-At: Applied, cheers :) On Sun 07 Aug 2016 22:24, James Clarke writes: > * module/system/base/target.scm (cpu-endianness): Add case for "alpha". > (triplet-pointer-size): Likewise. > --- > module/system/base/target.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/module/system/base/target.scm b/module/system/base/target.scm > index d1f6cff..02febf8 100644 > --- a/module/system/base/target.scm > +++ b/module/system/base/target.scm > @@ -63,7 +63,7 @@ > (cond ((string-match "^i[0-9]86$" cpu) > (endianness little)) > ((member cpu '("x86_64" "ia64" > - "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh4")) > + "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh4" "alpha")) > (endianness little)) > ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" > "mips" "mips64" "m68k" "s390x")) > @@ -103,7 +103,7 @@ > ((string-match "64$" cpu) 8) > ((string-match "64_?[lbe][lbe]$" cpu) 8) > ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh4")) 4) > - ((member cpu '("s390x")) 8) > + ((member cpu '("s390x" "alpha")) 8) > ((string-match "^arm.*" cpu) 4) > (else (error "unknown CPU word size" cpu)))))