From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wCsHHNyH9WIHiAAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 00:51:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2Hv/GtyH9WKkcgEAG6o9tA (envelope-from ) for ; Fri, 12 Aug 2022 00:51:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4169333795 for ; Fri, 12 Aug 2022 00:51:08 +0200 (CEST) Received: from localhost ([::1]:43174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMH19-0005V8-Ej for larch@yhetil.org; Thu, 11 Aug 2022 18:51:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMH14-0005Um-Pq for guix-patches@gnu.org; Thu, 11 Aug 2022 18:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMH14-0007As-GS for guix-patches@gnu.org; Thu, 11 Aug 2022 18:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMH14-0004WW-7t for guix-patches@gnu.org; Thu, 11 Aug 2022 18:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57050] [PATCH v2 07/13] gnu: chez-scheme-for-racket: Support cross-compilation. Resent-From: "Philip McGrath" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Liliana Marie Prikler" , 57050@debbugs.gnu.org Cc: Liliana Marie Prikler , Thiago Jung Bauermann Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.166025821217296 (code B ref 57050); Thu, 11 Aug 2022 22:51:02 +0000 Received: (at 57050) by debbugs.gnu.org; 11 Aug 2022 22:50:12 +0000 Received: from localhost ([127.0.0.1]:55180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMH0F-0004Uu-SE for submit@debbugs.gnu.org; Thu, 11 Aug 2022 18:50:12 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:35177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMH0E-0004Ud-2n for 57050@debbugs.gnu.org; Thu, 11 Aug 2022 18:50:10 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1DD793200A14; Thu, 11 Aug 2022 18:50:04 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute4.internal (MEProxy); Thu, 11 Aug 2022 18:50:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1660258203; x= 1660344603; bh=qnejgzzPjlryvHusHQgDlJjKUQkF831DDb1Y8e2RZUw=; b=T xdxk2m8TTeGd+nzIrWq8kSbY4i/a7RHN+PQtZyYNekXmqZfG9ve4C/2fq0QaIjVL dsU1/q8Nq/HUeM8Ft8V1v/3+KnYva4gZRhMPl8aRYEq8PpoSO90Yit4ajGlpm+ZV auI6Lrq+In/7Pxk6jP7uT+nuUhr/o5UISXzN4uJ7sLAwad/7QfGnAkqr46FPoXy9 OAEDOy7CFnuGFzZJeA//SqmRH5qDWy3oODDrgIRd0bRKwOXp3/tM5Jy1sg/j8O6v 7DNli01i/mNI+hPFMVsnfSIo2+tWuOx01OOfwLexIdIx4LjjDh6g50NFFgngPZiP 5L2wk5sLOy2/PnZeQ/+wA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660258203; x=1660344603; bh=qnejgzzPjlryvHusHQgDlJjKUQkF 831DDb1Y8e2RZUw=; b=LQuiN8AGq861KJ+vqezNvignnP9jDh/ccGFBwMkVx5XO SYExCNMP2PxtFeCWn1bqMOpE81RLW2Bc98L/3UkdGL8I6mV/x/xV0JVOWBiQxcl8 Pi8II6QgOFlEtg8t0+7QTgqeMjYVdHAxyq6EnWBke1JnwMvwr/RV+yT76l33D3Qp iJ9bmrEsZLbwoymP3+B5H+VPsQyKj7bcZOIJ+aBLnY8HfIDDHk/3Q8mAZTY8+biP v+miAjdGVBU87rLonTat1ak6uuJLDkVFJMjvDW2jjsn+YpyJvZdCT0QuX54uGUtv hj3TWKy8/85U57GYKv2PA/ka5aXPUyaKyOhCrjG5iQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeghedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfrfhh ihhlihhpucfotgfirhgrthhhfdcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthh drtghomheqnecuggftrfgrthhtvghrnhepvdejvdetfeeghfejleduieevleekfefhteeh jeevkeetffdvtddviedvgeeghfefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5EC2AC6008B; Thu, 11 Aug 2022 18:50:03 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-811-gb808317eab-fm-20220801.001-gb808317e Mime-Version: 1.0 Message-Id: In-Reply-To: <2729b9f4060b1e3e7aa0d0e8f22b1412b81b18eb.camel@ist.tugraz.at> References: <2729b9f4060b1e3e7aa0d0e8f22b1412b81b18eb.camel@ist.tugraz.at> Date: Thu, 11 Aug 2022 18:49:42 -0400 From: "Philip McGrath" Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660258268; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=qnejgzzPjlryvHusHQgDlJjKUQkF831DDb1Y8e2RZUw=; b=AiiWoo1lqW1095uKqWQduF0Nv9c4Cvu5NEVzWPvEx0BObiNXOa5wRP42/C37SUKFk9aUKG l8AG9eOAUuhoUq5uuJn7diqvwflzw9k13BPQzKnuWWfiB9OsMb30XtQ5jwOnvWXfe/r0E8 ft1qKenGr8p9IaOaVTWeH/Kuv11g3UPb8up6fEz8sOxKA2zURkvuH8TjqNk+qBOamI8gTO kTjhqQgM5Uu1Ka5JARIjkAeL3QmojB/WwEOR5QfPRFYgQJLOX/TUYA/67Al9ip540WLEf6 nSngGMxUnNSXG4sNik5UUFWnis3EqsQP4D9RDOf9N/AOnPyIrsNPmpvrW/o5+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660258268; a=rsa-sha256; cv=none; b=MvcaScKjs3c/jY+hbTm0mbzg9/etlAfR77I5sItyXY1LO824INvGdhSQDQjmfL4Y3HnQ1q cjFpNxPei9Rkyd9NSSHt91iicTZ07nS5U2ICXDXKPQ7FO9ANOf+7ou4vCkB1HPNCrBs42U IZPAkTA7mkq3UC+Wm/DO/+hnMmavvX+dnN8hkHtMgnLLxYk5vprJ0pmQvUjcHKv++YlWoh Ys1yXr+lMoMdPl1TKnMyik9rTHOOiprhTixAXg2RFzgsnSNyiAFLCRJELVyF7eWT8F3BzW RddmSwSXJQ4BhAEMN7OtGFuAaEnh/VBREu+ETP2gytmFmt35gdpfyWNFYBFUPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="T xdxk2m"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=LQuiN8AG; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="T xdxk2m"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=LQuiN8AG; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4169333795 X-Spam-Score: 3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: AmrxShBHvdx7 Hi, On Thu, Aug 11, 2022, at 7:56 AM, Liliana Marie Prikler wrote: > Am Donnerstag, dem 11.08.2022 um 07:08 -0400 schrieb Philip McGrath: >> * gnu/packages/chez.scm (racket-cs-native-supported-system): Change >> to >> return the applicable machine type instead of '#t'. >> (chez-scheme-for-racket)[native-inputs]: When cross-compiling, add >> 'this-package'. >> [arguments]<#:configure-flags>: When cross-compiling, supply '-m=' >> and >> '--toolprefix='. >> <#:phases>: Work around cross-compilation issues in 'build' and >> 'install-docs'. >> (chez-scheme-for-racket-bootstrap-bootfiles): When cross-compiling, >> use 'zuo' and 'chez-scheme-for-racket' instead of 'racket-vm-bc'. >> [arguments]<#:phases>: Adapt 'build' phase for cross-compilation. > I think this patch can further be split into one for the bootstrap- > bootfiles and one for chez-scheme. I don't know where exactly racket- > cs-native-supported-system fits into any of this and what the > dependencies for it are. > Among other issues, if you cross-compile the bootfiles but can't compile anything that uses the cross-compiled bootfiles, there's no reasonable way to tell if the bootfiles you've built actually work. -Philip