From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MDBrOVRt9GB4dAEAgWs5BA (envelope-from ) for ; Sun, 18 Jul 2021 20:05:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aFwLNVRt9GCtcwAAbx9fmQ (envelope-from ) for ; Sun, 18 Jul 2021 18:05:08 +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 A21932B1EF for ; Sun, 18 Jul 2021 20:05:08 +0200 (CEST) Received: from localhost ([::1]:43694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5BA3-0001lv-Lo for larch@yhetil.org; Sun, 18 Jul 2021 14:05:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5B9y-0001lV-E1 for guix-patches@gnu.org; Sun, 18 Jul 2021 14:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5B9y-00021z-6L for guix-patches@gnu.org; Sun, 18 Jul 2021 14:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5B9y-0008Gr-0b for guix-patches@gnu.org; Sun, 18 Jul 2021 14:05: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: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Jul 2021 18:05:01 +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: 49565@debbugs.gnu.org, Maxime Devos Received: via spool by 49565-submit@debbugs.gnu.org id=B49565.162663144531720 (code B ref 49565); Sun, 18 Jul 2021 18:05:01 +0000 Received: (at 49565) by debbugs.gnu.org; 18 Jul 2021 18:04:05 +0000 Received: from localhost ([127.0.0.1]:57120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5B92-0008FW-QQ for submit@debbugs.gnu.org; Sun, 18 Jul 2021 14:04:05 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:48104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5B8w-0008Ey-R2 for 49565@debbugs.gnu.org; Sun, 18 Jul 2021 14:04:02 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 253DC40471; Sun, 18 Jul 2021 18:45:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1626626725; x=1628441126; bh=RNSi11DR1C380Ua3vBLbjm9z9SHNyWLP1TV gPX9glNk=; b=sJsJYOndyfNsRR0KCUPb/oyZyJBZ1kL3iLtB0c7dZ8I1HPoJdkV 5GiZ4Sh5mHrpbLnacWJIHrYUxFgF9gPugMg4zuAhvnKAHBnRxYA/81wbnUKwBwfG I75Mf/vry4Xe2anTd9rVbrenFFI8QkbuHSgexlCptVoa5QsfnaGsI3BNcVEc7XFX D/vyRaZf8BGjaU2hlwQdYeh+sytA37TCXhlif86KbfLJVSs4S0Ys3c4QOuRGfqIa 5ZfmoUUGqQegNJ74fAdRCXCGQmBS0DhnMl7oaivD71LjKZGxaYrteSN5pANj/DHv hHhtwZlZNtdxympWZ5ZYvu7taQ5WRI/kBKF4GJtih7QQs9klb2Fe4CWEDT+RfgiJ FWCRJIk8tnZcxotyPc5moqFJBC80d79Of8G7if0ftfrvz3UhCV5wCZc15eGl2aEt 4KDxfcy6RKTxCUJUSy+Zw8Ffx58YbpfvKs56WDONgez4QkFuwgB6a+AxmMvcEnL4 wq7n6nhpaDpfLUMdDurmIdJKeLZUGGLSAGTsuZDOhgCXcE8x5I46+z+x1livrn4U EiYhKK0CYDAIY5JtXKFj9q7BTF9lBCJldf7ADLKuAyC5S1AGirk1PC19Goh0ITPH BEOpS6g9TrA7jpFjk3ZmEdWdkHIQKFDVg2UsWZwaWV9cS8g9yU3A/DsE= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id za52jKWY_Z6Y; Sun, 18 Jul 2021 18:45:25 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 8A42440312; Sun, 18 Jul 2021 18:45:25 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 1CF9C46DF; Sun, 18 Jul 2021 18:45:23 +0200 (CEST) Date: Sun, 18 Jul 2021 13:45:15 -0300 Message-ID: <4729414.XUdnh1gNuZ@popigai> In-Reply-To: <55865ae75130bb06154c5cf68ad8f3a89c511515.camel@telenet.be> References: <20210715004613.763843-1-bauermann@kolabnow.com> <38562486.AUsm6asf6Y@popigai> <55865ae75130bb06154c5cf68ad8f3a89c511515.camel@telenet.be> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626631508; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=RNSi11DR1C380Ua3vBLbjm9z9SHNyWLP1TVgPX9glNk=; b=DQ3qEApZpv+cv1bJeDCo5+SnuQjI4s+rHPXDrHJ8/oXAdmTgq9e15RNu9nIZuJKFtQLGC0 ntLN15luxOihmGAUdXcH6NaMORH1z0fwefNVPs+YAJ/HszlnniOfQMQFEUmHDYwYTZyQw2 fJRD5NCXCJzYUiLGCC2vocdsq7cE9OysJhnoewsmOGG/tbvLu7Lm4FxoIapAFIxQ/WUZHy XsG7tZqPExXcN91Q0N7BKZD/mioFGZICeI8qCA4OgaZjO9+FCukucAIb+2/LludPyFzMN0 5ZeEnzYRdpY98uPFWZBxaBT2fL8jyMUKldsXBjE8cDiBcyT5gTNNdTDuE05wUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626631508; a=rsa-sha256; cv=none; b=S1BLzufMZbTyEvhdMeA8c1bP1YWmwLk5B2TVrDDskoSe9xpkDdOtDre7oC7njFYcHSaLm4 D5WxrEpe4ykCdyKLvuY4phpXeOgT/bmqkrC6FIhs458teVM500MXdr9GKvmItxXqGmQ07W zYaF+EN2Yt6LT4QDPhY1OjeJW5rvg6WekdCWM+jsw1BEyQsfwqlFcxEGHESI+gbEHJSZ9J +AF4lJ8KNANL/jWYya/amPO/VWXtUaJxfzwmVCijkFWb9WSZaAcw8H75ONQcCk9vi+tcLy y5dEBoKHAL/iLfIX0bxfcw7+zyI1yxAFfpJj8CSTvM/5iP3ZVl+5I1CotnYWOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=sJsJYOnd; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=sJsJYOnd; dmarc=pass (policy=none) header.from=gnu.org; 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: A21932B1EF X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: CRq+cX1p55IV Em domingo, 18 de julho de 2021, =C3=A0s 13:10:40 -03, Maxime Devos escreve= u: > 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-syste= m=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 c= lean > > them up. >=20 > 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). True. I=E2=80=99m going through the places using =E2=80=98%current-target-s= ystem=E2=80=99 and=20 fixing the ones that seem buggy to me. I changed libpasastro here. I should= =20 have something to send in the next few days. > > 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/ > > and 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 wou= ldn=E2=80=99t > > be 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 > compiled 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 the compiler one started out with. Makes sense. Thanks for clarifying! =2D-=20 Thanks, Thiago