From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kCDSE5azAGWWkgAAG6o9tA:P1 (envelope-from ) for ; Tue, 12 Sep 2023 20:53:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kCDSE5azAGWWkgAAG6o9tA (envelope-from ) for ; Tue, 12 Sep 2023 20:53:10 +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 B91BB43CB4 for ; Tue, 12 Sep 2023 17:27:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EsR9lBSE; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694532439; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9E4ixMBa9+H5ty8gkWG2T6B/ovvwH7ZgUnV6uaJ8Hlk=; b=rKos6X00DHy7PQuEWNDEgyvolOxjlnTVzhNQDvdZzQ1H1fIEOpHWh+95ZxC70v9fvpw+Qa k8ys6ay13szogKOCjETxo1qLFmpRV4zpmxHTYLStEcRm5AQACKChXaWa8pO5CCdoxFycRZ INQ+hTa/TgqZLlKL0vOMsG6H7/G6mDyjnoodCyanwIVTwYx4QWQ5vkNZLBIWHrSu3+ib7b fEv+Cn9pGTGoiFzIkPcw+6CLsAb3IFNmU0GPjvoWgEFl8gg6IYSCiY7bKjXESRsJBJiqGL d2jvR9XEIIlRPCGSc7LfE0lMb6dtpFPi8+WhenPqromT8rPwws+/Uf+F/4zpHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694532439; a=rsa-sha256; cv=none; b=IM1jUNQO1dAdREcVXsOJRisiFno+eERynd7FKFZgEfLrqwu5mFAk56R6+m6XEb/zh5q7ZV Vin1XMq78wu7GRs+S57giQyTz6hlowEGdWFu/X4yrt6enzIY+6hH+OgQQAjhxvx5HsGWwF uYC51aMQgmFFxZknmNTV5cM0Yls/tcx5HGqWNSsNbtjJJYHsYQ2pQwp6AYmI5UXFK5R4Kp d1DxWNH/hTnTUxbpzBL8Y2ay16Id0d8fbNEsTQyxweutdR0pXWbr4zykZuw0axbl1GG5tm v8bHnm60R52u3cvbvReCxYZEs+f4+3KDbH7oQCYc3OiZMzQAluzY9en1swtpIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EsR9lBSE; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg5Hp-0005Yf-QJ; Tue, 12 Sep 2023 11:26:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qg5Hm-0005YO-TB for guix-devel@gnu.org; Tue, 12 Sep 2023 11:26:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qg5Hg-0005Hp-9a for guix-devel@gnu.org; Tue, 12 Sep 2023 11:26:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 43ABA240103 for ; Tue, 12 Sep 2023 17:26:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694532391; bh=9E4ixMBa9+H5ty8gkWG2T6B/ovvwH7ZgUnV6uaJ8Hlk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=EsR9lBSE8fiqMIHcE4kpiXEGAN4va2hk/VDp1bPNQzQhJXerjE56+LaoVXbpgRi+T 11K06ehAGe5o6423aqT1UCdplQ6AukLU1NMhFQye2hF/wuiLIQy5Cnq/XL5fvIHVPb jCoPtoFOEQpHxRY149FygVs3a6l5ArgCLZpq3AvTvYrpnn8VIZk/yMW4ULE2HeP9W9 lZXjt+nw5r9NHAstwEIIEz5tpzTDBIkkzVw75GIXGb4noex4hTpsdWENtCBAIw4Pm5 HCaL2HfjrMc48CmqajIu592pl173XDNf7gBTWcRdGHBIQ2+A9KfFxofzwLByno9m+Y owrnhsPF+HkcA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RlS9L56qzz6tsf; Tue, 12 Sep 2023 17:26:30 +0200 (CEST) References: <87lede2xvu.fsf@gnu.org> From: Guillaume Le Vaillant To: Mathieu Othacehe Cc: guix-devel@gnu.org Subject: Re: Cross compilation status Date: Tue, 12 Sep 2023 15:05:35 +0000 In-reply-to: <87lede2xvu.fsf@gnu.org> Message-ID: <87msxrbefu.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.59 X-Spam-Score: -8.59 X-Migadu-Queue-Id: B91BB43CB4 X-Migadu-Scanner: mx0.migadu.com X-TUID: l0tDuzUwWSLh --=-=-= Content-Type: text/plain Mathieu Othacehe skribis: > In order for Guix to become an alternative to tools such as Yocto and > Buildroot, having most or all our packages cross-compiling is a > prerequisite. > > Here is a status of cross-compilation in Guix. For cross-compilation to > work, the build-system needs to support cross-compilation. > > The following build-systems explicitly refuse cross-compiling packages: > > haskell, agda, waf, chicken, rakudo, julia, python, emacs, rebar, cargo, ruby, renpy, dub, android-ndk, scons, dune, ant, pyproject, maven, asdf, r, ocaml, node > > while the rest of the build-systems do accept cross-compiling packages: > > clojure, qt, copy, minetest-mod, tree-sitter, raw, linux-module, glib-or-gtk, > asdf/source, go, cmake, minify, perl, trivial, guile, elm, font, gnu, asdf/ecl, > asdf/sbcl, meson, mozilla, texlive Hi. I'm surprised to see asdf/* in the list of build systems accepting to cross-compile packages. How did you test them? Because I get (on a x86-64 machine): --8<---------------cut here---------------start------------->8--- $ guix build --target=aarch64-linux-gnu sbcl-alexandria guix build: error: gnu/packages/lisp-xyz.scm:168:2: sbcl-alexandria@1.4: build system `asdf/sbcl' does not support cross builds $ guix build --target=aarch64-linux-gnu ecl-alexandria guix build: error: gnu/packages/lisp-xyz.scm:168:2: ecl-alexandria@1.4: build system `asdf/ecl' does not support cross builds --8<---------------cut here---------------end--------------->8--- I'm not even sure if sbcl and ecl have the ability to compile Common Lisp code for an architecture different from the one they are running on. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZQCDJg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j95YgD9H2ZxQyhOIvJIajKkhCD94DdLYURa5PnmIg2c ywzMqOQA/1vO0JC37ulT5sBMclK7E1kmmN4m/MNdHmdHlQBSBywt =Oi+/ -----END PGP SIGNATURE----- --=-=-=--