From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ajHrMYd19GDafwEAgWs5BA (envelope-from ) for ; Sun, 18 Jul 2021 20:40:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eABCLId19GClBwAAbx9fmQ (envelope-from ) for ; Sun, 18 Jul 2021 18:40:07 +0000 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 0548454B0 for ; Sun, 18 Jul 2021 20:40:07 +0200 (CEST) Received: from localhost ([::1]:57606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5Bhu-0004xk-4N for larch@yhetil.org; Sun, 18 Jul 2021 14:40:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5Bhq-0004xc-Jp for guix-patches@gnu.org; Sun, 18 Jul 2021 14:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5Bhq-0000FV-74 for guix-patches@gnu.org; Sun, 18 Jul 2021 14:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5Bhq-0002zG-5X for guix-patches@gnu.org; Sun, 18 Jul 2021 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49565] [PATCH core-updates] gnu: bootstrap: Use %current-target-system to decide bootstrap path Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Jul 2021 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Thiago Jung Bauermann , 49565@debbugs.gnu.org Received: via spool by 49565-submit@debbugs.gnu.org id=B49565.162663356511435 (code B ref 49565); Sun, 18 Jul 2021 18:40:02 +0000 Received: (at 49565) by debbugs.gnu.org; 18 Jul 2021 18:39:25 +0000 Received: from localhost ([127.0.0.1]:57250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5BhF-0002yM-Ix for submit@debbugs.gnu.org; Sun, 18 Jul 2021 14:39:25 -0400 Received: from leibniz.telenet-ops.be ([195.130.137.77]:42716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5BhD-0002yE-KI for 49565@debbugs.gnu.org; Sun, 18 Jul 2021 14:39:24 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by leibniz.telenet-ops.be (Postfix) with ESMTPS id 4GSVMC1n1zzMqgMg for <49565@debbugs.gnu.org>; Sun, 18 Jul 2021 18:10:47 +0200 (CEST) Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id WgAl2500A0mfAB406gAlgL; Sun, 18 Jul 2021 18:10:45 +0200 Message-ID: <55865ae75130bb06154c5cf68ad8f3a89c511515.camel@telenet.be> From: Maxime Devos Date: Sun, 18 Jul 2021 18:10:40 +0200 In-Reply-To: <38562486.AUsm6asf6Y@popigai> References: <20210715004613.763843-1-bauermann@kolabnow.com> <20210716013143.901859-1-bauermann@kolabnow.com> <27e26df84bc02d681b1ff0904bdd63dfa80313bf.camel@telenet.be> <38562486.AUsm6asf6Y@popigai> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-A2m+e63Rk/avRHY9euSk" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1626624645; bh=AhDQafucwJvi6Xju6bK5zayafyHKNJNAL9Bl7AWzU8o=; h=Subject:From:To:Date:In-Reply-To:References; b=edUnXEr66aviWpHhL8HR87Psb8EmTwvX+9WDeYPFCTcz/83ZU0ah0pRwTi8ThfN6Z 4iy6xrKQIpXW07zW3DbBEDgql3VXDoSZnW9ptpkoXfTSXL86semP1vsA+3YKE53pv1 KDsPsJpvtOzOh3aBC3kEknj+w5ThOylBGUVy6XL4e7SO+nuaKQDyaAha+O2JPx8jzI /7FIlhwJOeGgCan9DqAwV/dzA0Yvl5Poeqb9MUYDTt5cEJFWOEdU7nM/OFtwmdVDtA MfdquRW10fMFZjxDeoPAu5dTZovvirT0tg14+2TDEssSx572+0GJFjCv1MdZVBe1Wr OojZy2jIOIG/A== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626633607; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=AhDQafucwJvi6Xju6bK5zayafyHKNJNAL9Bl7AWzU8o=; b=lFtrOorK1xg5lFUXDWa8wLx1PAT2ABwW55GCI/ZacB26+X+JbEvNG8rVKmroCe/bSVTV8F OcBW7p3y58TouliDuEFE4F/iyHLriqRiAD9qOQsV/5pa9bf1BDPVRdAhNVSjGXiYFpmPTa Av9tfnxFkCSY2EFBglwYuDa5nIY7Ngys8UU8g8vQsLTXVQHXRgNh3jIBPIdOBuZ4UyBHCh ius7cJVJeAPeFANdiu+Wbpw9a/+QfS7dbFRi+OqJ0zRg+T4qHU2d+9njISNZU/hiyUVbeX A30nVbqqJle1SFyU1chU/AfqF1f2Y1CtQzDWJFBggBhaQjR7rHBsYj+iHYKd6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626633607; a=rsa-sha256; cv=none; b=GSyf1JscQ9wQ8pT5CXOtqMBSsdFqPKzKw5iBZVRZpTduHLILnIaKBsHk0Y7+WtqAp6mKlo 6y8Xor9Tx7sWOVnjg8pHbD0xPwnz2fBUjVUDalajD4oWk1tpheEQsqsjg90bgPRwcXzqSN y5b26WS7WKNc0ky799e2tqKiUqhc0Coe8QukwOFbWCmJNrYFerXaoEk8SIuPJIFZxh88AJ HkVNTdmhLt9QybVBqR98PBib/0vMjZdapeSTPWNLLiB4njUaW0W4XGSRPqa1FJMFQtJb// v2FgwheT2+PDmGyZsT5uUbO8GHSpiD9559Yq77g7xw7tAJk5sRZMhC/9qIpL9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=edUnXEr6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=edUnXEr6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0548454B0 X-Spam-Score: -3.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: OXY5QrmPDcvg --=-A2m+e63Rk/avRHY9euSk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thiago Jung Bauermann schreef op vr 16-07-2021 om 17:01 [-0300]: > Thanks! I did that but it doesn=E2=80=99t work in this case because the = =E2=80=98source=E2=80=99 > functions expect a Nix system string and =E2=80=98%current-target-system= =E2=80=99 is a > GNU triplet string. After I defined a function which calls > =E2=80=98gnu-triplet->nix-system=E2=80=99 on it, then it worked. >=20 > This made me realize that all places which do > `(or (%current-target-system) (%current-system))` have this inconsistency= . > I=E2=80=99m currently preparing a couple of patches to clean them up. There are some places where it doesn't matter if it's the GNU triplet or Nix system string (e.g. libflame, tlsdate) and there are some places where the difference does matter (e.g. the definition of libpasastro seems buggy o me). > The vast majority of the files are ppc64le. Of the x86-64 ones, 87 are in > /tmp/guix-build-gcc-11.1.0.drv-0/build/build-x86_64-unknown-linux-gnu/ an= d > 45 are in /tmp/guix-build-gcc-11.1.0.drv-0/build/gcc/build/. >=20 > I=E2=80=99m not very familiar with GCC=E2=80=99s build system, so I can= =E2=80=99t say whether it=E2=80=99s > expected to have it create these x86-64 objects, but I wouldn=E2=80=99t b= e surprised > if it needed to build some native auxiliaryprograms for the build process= . When compiling GCC (version M) with GCC (version N), first version M is com= piled using version N, then the resulting gcc is used to compile GCC (version M) = again. As I understand it, the idea is to let the end result be independent from t= he compiler one started out with. > Because there=E2=80=99s no finished output, I wasn=E2=80=99t able to chec= k for references. >=20 > I can make a more conclusive test when this GCC cross build problem is fi= xed. Ok. Greetings, Maxime. --=-A2m+e63Rk/avRHY9euSk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYPRSgRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uzjAP9y3MFsqg8w4zKSh0Gh4vFBpmU2 LS44wHXBuGcAfQ4zFAD+O0gg1QeAT2Dl4xJMCvtCoy3akeDclrLd0h8uiy2scQk= =vIYt -----END PGP SIGNATURE----- --=-A2m+e63Rk/avRHY9euSk--