From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iI7QDgC9/WRACgEAG6o9tA:P1 (envelope-from ) for ; Sun, 10 Sep 2023 14:56:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iI7QDgC9/WRACgEAG6o9tA (envelope-from ) for ; Sun, 10 Sep 2023 14:56:32 +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 DC6A45F7F9 for ; Sun, 10 Sep 2023 14:56:31 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=bikYui66; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694350592; 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=p1Skq4BD6d18CYEV/ge2XHFOU/L3Q+c0ymacUBy3x6I=; b=oMQUS9iBTL4CuTgGzdMH2XUUJm75BRYfkwnU6Kagm9c40HqUnT9w9V3uQyswn5H4UeJwoi 4NIibi/LTP5SyRBsOoQlcYZwI4gSBcuIBAST+t0neWxBq2A3LVcpgqA46AbC1BsvYbIsGw hse413del7duVo8MMOoqQBKvt7pmyDxs7mZXethdl8u6nfMAG6iL/5af5hOUpVMjydj6uY fAAgXq9+6ij8RF8K4brG8UhiA/VKnMN0tPi4g0rGNAlTUc0YkfusIULfR+5Hmc/PXTFlPp NVFBAaIFkalROyEp5GDPgKaLDn+D5u+S5HnUurY2OMalxQnTL0/1R2xTgqo7jQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694350592; a=rsa-sha256; cv=none; b=iEGVrV/EBInXHt0qRadpHFWB/EIH8ZHrxa81rLLQAq59lIZdtcuSst9cQ++e5CfN8pZrFD uSoAogvBAVm+LTBiW1dQ3809ypcfHff90b3bRwisn45nKIQ2qJGElW5SYzEuiEiLzGUX8i FER/BeGRsGstna6cpdeQIyicEuqEBQe2H+G3wT6fsPJ/yw1UHxcn6UdMwZ2Ji4dVhmen2c r4aq30RZw0K9jUXRHj3S1RfvHENqJ94cSHMno0Rpfq+iS5LkUSJa8j2UQzQ1/pzqLWItX2 gVfRTbh2ls5P1wFi0XQ40Zf5yD5GAsYf6auL2WMTHfJypARQKSgU1qoe2lytoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=bikYui66; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfJyl-0001X2-8F; Sun, 10 Sep 2023 08:55:55 -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 1qfJyk-0001WT-3R for guix-devel@gnu.org; Sun, 10 Sep 2023 08:55:54 -0400 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfJyh-0001wu-Ia; Sun, 10 Sep 2023 08:55:53 -0400 Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-655e49717c2so3497376d6.0; Sun, 10 Sep 2023 05:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694350549; x=1694955349; darn=gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=p1Skq4BD6d18CYEV/ge2XHFOU/L3Q+c0ymacUBy3x6I=; b=bikYui66KSifq3l7Mp9NrZYyP+hHWn+SP2pGBAv+Z1pGEDXutMrJPrzs7keI0lNN1q vN1CpaIjMyRaXMLXVK2vwmRv6ibVqqA6TDNoWLPolHgDRpf3XAPIl+hBT3kxqTWBlgfg zXUwX5Odu+Jzkfm5se14KxXQ6mMTXbm1kAmXoLuN8FYRHRMiePOw7SyeBd0PI2tlD5e/ O7yAJHJPaRXwugGOa2XRcgfzTDPsmnaSkyJsHlraFzBsewwzfjFW/lGfteRDk81iAmwl 4IdSj6jPLfAUHxoVK+kBB+9l4efMRa5a5g3SIlqCXR6CgVIRtapvUGJG90WSX0xNVEUQ /sFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694350549; x=1694955349; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p1Skq4BD6d18CYEV/ge2XHFOU/L3Q+c0ymacUBy3x6I=; b=Tz5kELCk3l6m79gzDmSzWNuTNgYSjkxWypCpKtEVxOGUbx8UwXVhPqS6c1HkjlA+jO HjtWF0AUEZCSfYaHZF0iZ+pg2zv1+ApTbm45dYDfV7LXH8Jn1y3CHC0F74k6QtzYpRyH boFNyNKRXCCPeZAt0HexiSYc9KNhiniTo4B2zty/ohNrlfuWIKgvhcOiFfBHhjfX0Pxv AizXN4bETGYB5wtf6Yu4X0AXS/8SQ6i14ISmQmQxKJBPjHFbc3auw3NfudSma6TKfXW+ +MnSQsZdySnbYAnRmtrlDowHoNMVJOGk9fqlYWrAmoFzVodlKcETh5Q2PZpZlRFif1IL edTw== X-Gm-Message-State: AOJu0YyudXSX/OpAHP71c+tFqfEIf7RHTzCwt56wX0oajMQsFLa0oHwN bFT8KIdLFLmPrrDGpNgAm3Y= X-Google-Smtp-Source: AGHT+IHJD6QwbSyXK0rwoSHu39bNBgBRniJyovhmF9nM3bA1VDZefpQGNYALJGlJTnwlsK5H+9Mudw== X-Received: by 2002:a05:6214:1047:b0:64f:42eb:92f3 with SMTP id l7-20020a056214104700b0064f42eb92f3mr7865165qvr.45.1694350549465; Sun, 10 Sep 2023 05:55:49 -0700 (PDT) Received: from hurd (dsl-155-89.b2b2c.ca. [66.158.155.89]) by smtp.gmail.com with ESMTPSA id ny2-20020a056214398200b00655e83dfa16sm343467qvb.11.2023.09.10.05.55.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Sep 2023 05:55:48 -0700 (PDT) From: Maxim Cournoyer To: Mathieu Othacehe Cc: guix-devel , andrew@trop.in, bjoern.hoefling@bjoernhoefling.de, guix@cbaines.net, efraim@flashner.co.il, julien@lepiller.eu, cox.katherine.e+guix@gmail.com, lars@6xq.net, liliana.prikler@gmail.com, rekado@elephly.net, jgart@dismail.de Subject: Re: Cross compilation status References: <87lede2xvu.fsf@gnu.org> Date: Sun, 10 Sep 2023 08:55:47 -0400 In-Reply-To: <87lede2xvu.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 10 Sep 2023 11:14:29 +0200") Message-ID: <87zg1uuqzw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f33; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf33.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -8.07 X-Migadu-Queue-Id: DC6A45F7F9 X-Migadu-Spam-Score: -8.07 X-TUID: ZyDnwBr3wAj5 Hi Mathieu! Mathieu Othacehe writes: > Hello, > > 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 For Python, it's already reported at: https://issues.guix.gnu.org/60733. And even implemented here: https://issues.guix.gnu.org/60849. Why it hasn't been merged yet is because it's coupled with a more daring change (unified build system for Python) and there were comments that this should be an all or nothing change, so I'd need to workout all the build systems and see what breakage happens at the global scale, which is a rather large undertaking. Maybe it could be decoupled from that change and tested in isolation, pushed first; we'd loose the benefit of the later change which is the ability to avoid wrapping native-inputs in our wrappers. -- Thanks, Maxim