From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 18 14:04:05 2021 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 X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no 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) From: Thiago Jung Bauermann To: 49565@debbugs.gnu.org, Maxime Devos Subject: Re: [bug#49565] [PATCH core-updates] gnu: bootstrap: Use %current-target-system to decide bootstrap path 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 49565 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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