From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ANfvKXJUUGDHJQAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 06:47:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wFCwJXJUUGD9GgAAB5/wlQ (envelope-from ) for ; Tue, 16 Mar 2021 06:47:14 +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 29BB713501 for ; Tue, 16 Mar 2021 07:47:14 +0100 (CET) Received: from localhost ([::1]:52824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM3U1-0002Ji-6j for larch@yhetil.org; Tue, 16 Mar 2021 02:47:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM3Tq-0002JU-IH for guix-patches@gnu.org; Tue, 16 Mar 2021 02:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM3Tq-0004uQ-AD for guix-patches@gnu.org; Tue, 16 Mar 2021 02:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM3Tq-0001a3-30 for guix-patches@gnu.org; Tue, 16 Mar 2021 02:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47182] [PATCH 01/18] gnu: bootstrap: Add support for powerpc64le-linux. Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 06:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47182 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47182@debbugs.gnu.org Cc: Chris Marusich Received: via spool by 47182-submit@debbugs.gnu.org id=B47182.16158771645980 (code B ref 47182); Tue, 16 Mar 2021 06:47:02 +0000 Received: (at 47182) by debbugs.gnu.org; 16 Mar 2021 06:46:04 +0000 Received: from localhost ([127.0.0.1]:37877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM3Sp-0001Xm-BX for submit@debbugs.gnu.org; Tue, 16 Mar 2021 02:46:04 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:38603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM3Sk-0001XW-Aq for 47182@debbugs.gnu.org; Tue, 16 Mar 2021 02:45:58 -0400 Received: by mail-pj1-f52.google.com with SMTP id k23-20020a17090a5917b02901043e35ad4aso802254pji.3 for <47182@debbugs.gnu.org>; Mon, 15 Mar 2021 23:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=21/3PY6b/VapfHJ7/CG6VRHaVoV26oH7QOBDWaSVr0U=; b=n3nytyXGVrB7W5NbI06LWjqhC1zdj2Snnk2pSaxziWHeLbEgKWfsWUpQYdkFC2bVR8 s2cRd9EhZx7HvKvmFpYpo1ffhyE1CTO+LMabJ/GG+k70uFrY9nNU/mLFJgzli20B1PRL 1AHvjec7/4WvWvmMM+oQ6y9GFVpACOJHi0julD4LH0wZ6SCC1oHmoUMxlhE0pam464KB KB+w3ZQu36Vte/vPAF+urpUgWV9Pn2POHpGFf5fzbEba1LWZr4ELGNOqLWazsdaj+EEk fUfm8Z/GtKP4gWTb70uP1Z2NGKrgAwSpD8EMcUbJSMWAHwOiTFdLctofJiWZgs2sYWOQ pMLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=21/3PY6b/VapfHJ7/CG6VRHaVoV26oH7QOBDWaSVr0U=; b=ZBaxT7HY5UCCgdIJ1DI1bNVBB1q+1vR9EbL/w4ZtG8XO5f0oqaonTQsYCsmes0ZxLm 4+Pv+iC5sNCWsBeM3o7vZTF/+DAqpZ2VCYD6yrbu+H78g2jhNeelS/uIVPYLXAtn+Ss2 kV+rrW/dDV6/B3Y8uWD+U2hyczAZJWhGmI5NV4hP8y/Y/NywXRW7meofv7lCironaA4K RZhNa3YI0nLZcH0ZNUCEU8dWbT6ztl1eIglz7InKpjRpqOW4q84UzFx+Mbtm+kH7E3hc YDVufs5TfMd1vbIjfSZuLPkz2oZuvPmGyLyaDLa1k8/rANLncrwhLQ/wEd3hjY4rtt42 6+Vg== X-Gm-Message-State: AOAM531YgcE02Al3gFGKDs2zrspQ9npNMrgdnjovCeBT2zIHpbmEjQ9B eDBNOEPTWYExC7+bjqDf25XvC3lIABf2UQ== X-Google-Smtp-Source: ABdhPJwqypCE+KjJYMX/AerFB5ZPemTGMksUFBbymCDyC5eYmtG9BFyh2hZRLtqTDfAPHvhaSmCEbg== X-Received: by 2002:a17:90b:3716:: with SMTP id mg22mr3213790pjb.157.1615877147764; Mon, 15 Mar 2021 23:45:47 -0700 (PDT) Received: from garuda-lan.lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id r186sm15541160pfr.124.2021.03.15.23.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 23:45:47 -0700 (PDT) From: Chris Marusich Date: Mon, 15 Mar 2021 23:44:54 -0700 Message-Id: <20210316064511.2891553-1-cmmarusich@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210316062805.2890883-1-cmmarusich@gmail.com> References: <20210316062805.2890883-1-cmmarusich@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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=1615877234; 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: 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=21/3PY6b/VapfHJ7/CG6VRHaVoV26oH7QOBDWaSVr0U=; b=i8r6GwoUd0b4MoEmQb06fJ39WHZhGaqp4LKWPD4VKlNiyTezxU1IV8ueH0DWB++WH6ANgz w7TegNInDR6/Zet8g+AB/atigpCyS7WWmgFccusYtXQoWMdp7LTHY/Mgi/OAUCnrrS8Qla Vc0/dWsKeviaacfrUxx8jU1CUHBwEbpcGtFm8XCLoXTUntIWjLpRGZCvIhQeoAQLycIWqm BG+H47fsWfp+XiALMJtIWXSZmPeY60mhZAlbf9VQrxiLmTHqa7W5cLxrfRzrv/KoKvdue+ UsQkPfWLAHSOQnIEdya+inm9faGSrlYXiI/Gobogmq/vFuD3hYPcsKNX96w42A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615877234; a=rsa-sha256; cv=none; b=ZPV9m6WGzIy2hkoKb5I8zS+NOg1DYrJEF7n9F1qtq4h2EDgzfD2dTXWnfbg6mbvo6+c1H9 l6De7s1qZDnA/DvmUTtLVR5jIFMYMaOVoPqNi6vJNf92Pjo+bFWtjaHNB/8ZxKBDWTVtxD vaf9DPqWQxDjqTJZ/D4IbFY/S8pbrvr93d4R1MzEtQqoBJgKv2ZbzyPo166sTF/2WtMYAQ mw2gkrEVWUsWXiQtZelXjBTY4ksPjl2zS2I4c42/e987y7RsZBEo6Rl1bG6dJUl0ZasdNz 1gaKBeba/ctatJ9qbcDx8ZtwxZi9W5dN4B0g0RYNHrRNEoc+7S7M3+aO1tb8hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=n3nytyXG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=n3nytyXG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 29BB713501 X-Spam-Score: -0.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8Y6mROUzotBU The bootstrap tarballs used by these bootstrap packages were created via the following steps: - Create a new x86_64 VM using QEMU. - Use https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz to install Guix System 1.2.0 in the VM. - Run: guix pull --no-substitutes --commit=662e7e28d576ada91fc9dec7d27c100666114f03 - Run: guix build --no-substitutes --target=powerpc64le-linux-gnu bootstrap-tarballs With the exception of gcc-static, all bootstrap binaries contained in these tarballs can be built reproducibly. Unfortunately, gcc-static is not always reproducible when everything is built from source on separate machines. Despite investigation efforts, the cause remains unclear, so we have decided to move forward with these binaries to unblock further bootstrapping work. For details, see . * gnu/packages/bootstrap.scm (%bootstrap-executables) (bootstrap-executable-file-name, bootstrap-guile-url-path) (bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils) (%bootstrap-glibc, %bootstrap-gcc): Add entries for powerpc64le-linux. (%bootstrap-executable-base-urls): Add an entry for alpha.gnu.org. --- gnu/packages/bootstrap.scm | 39 +++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index c39e60ec8bc..c598cedc0ae 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -5,6 +5,8 @@ ;;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2019 Carl Dong ;;; Copyright © 2019 Léo Le Bouter +;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2021 Chris Marusich ;;; ;;; This file is part of GNU Guix. ;;; @@ -122,16 +124,27 @@ ("tar" ,(base32 "06gmqdjq3rl8lr47b9fyx4ifnm5x56ymc8lyryp1ax1j2s4y5jb4")) ("xz" - ,(base32 "09j1d69qr0hhhx4k4ih8wp00dfc9y4rp01hfg3vc15yxd0jxabh5"))))) + ,(base32 "09j1d69qr0hhhx4k4ih8wp00dfc9y4rp01hfg3vc15yxd0jxabh5"))) + ("powerpc64le-linux" + ("bash" + ,(base32 "1kiw7n6mkdy2x9in97646nb7aiayxr090ws1hbrlazah3fjqi6nj")) + ("mkdir" + ,(base32 "04dpvi231zcl40ig048vqqnyvmnkw1byrm1q1qqvs1f0g16yhrrk")) + ("tar" + ,(base32 "150c8948cz8r208g6qgn2dn4f4zs5kpgbpbg6bwag6yw42rapw2l")) + ("xz" + ,(base32 "0v5738idy9pqzcbrjdpxi5c6qs5m78zrpsydmrpx5cfcfzbkxzjh"))))) (define %bootstrap-executable-base-urls ;; This is where the bootstrap executables come from. '("https://git.savannah.gnu.org/cgit/guix.git/plain/gnu/packages/bootstrap/" + "https://alpha.gnu.org/gnu/guix/bootstrap/" "http://lilypond.org/janneke/guix/")) (define (bootstrap-executable-file-name system program) "Return the FILE-NAME part of url where PROGRAM can be found for SYSTEM." (match system + ("powerpc64le-linux" (string-append system "/20210106/" program)) ("i586-gnu" (string-append system "/20200326/" program)) (_ (string-append system "/" program "?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e")))) @@ -332,6 +345,8 @@ or false to signal an error." "/20150101/guile-2.0.11.tar.xz") ("i586-gnu" "/20200326/guile-static-stripped-2.0.14-i586-pc-gnu.tar.xz") + ("powerpc64le-linux" + "/20210106/guile-static-stripped-2.0.14-powerpc64le-linux-gnu.tar.xz") (_ "/20131110/guile-2.0.9.tar.xz")))) @@ -346,6 +361,8 @@ or false to signal an error." (base32 "0fzp93lvi0hn54acc0fpvhc7bvl0yc853k62l958cihk03q80ilr")) ("armhf-linux" (base32 "1mi3brl7l58aww34rawhvja84xc7l1b4hmwdmc36fp9q9mfx0lg5")) + ("powerpc64le-linux" + (base32 "1rnyfz5q38jyvxddj617443bnnzql4vw0mxzqpj8wz48wx4bhbq0")) ("aarch64-linux" (base32 "1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r")) ("i586-gnu" @@ -479,6 +496,8 @@ $out/bin/guile --version~%" "/20150101/static-binaries.tar.xz") ("aarch64-linux" "/20170217/static-binaries.tar.xz") + ("powerpc64le-linux" + "/20210106/static-binaries-0-powerpc64le-linux-gnu.tar.xz") ("i586-gnu" "/20200326/static-binaries-0-i586-pc-gnu.tar.xz") (_ @@ -498,6 +517,9 @@ $out/bin/guile --version~%" ("aarch64-linux" (base32 "18dfiq6c6xhsdpbidigw6480wh0vdgsxqq3xindq4lpdgqlccpfh")) + ("powerpc64le-linux" + (base32 + "0afs2j9z2d1hjq42myz4iwjh0aqgzf59inifw87x6b6p1z9wv92v")) ("i586-gnu" (base32 "17kllqnf3fg79gzy9ansgi801c46yh9c23h4d923plvb0nfm1cfn")) @@ -547,6 +569,8 @@ $out/bin/guile --version~%" "/20150101/binutils-2.25.tar.xz") ("aarch64-linux" "/20170217/binutils-2.27.tar.xz") + ("powerpc64le-linux" + "/20210106/binutils-static-stripped-2.34-powerpc64le-linux-gnu.tar.xz") ("i586-gnu" "/20200326/binutils-static-stripped-2.34-i586-pc-gnu.tar.xz") (_ @@ -566,6 +590,9 @@ $out/bin/guile --version~%" ("aarch64-linux" (base32 "111s7ilfiby033rczc71797xrmaa3qlv179wdvsaq132pd51xv3n")) + ("powerpc64le-linux" + (base32 + "1klxy945c61134mzhqzz2gbk8w0n8jq7arwkrvz78d22ff2q0cwz")) ("i586-gnu" (base32 "11kykv1kmqc5wln57rs4klaqa13hm952smkc57qcsyss21kfjprs")) @@ -622,6 +649,8 @@ $out/bin/guile --version~%" "/20150101/glibc-2.20.tar.xz") ("aarch64-linux" "/20170217/glibc-2.25.tar.xz") + ("powerpc64le-linux" + "/20210106/glibc-stripped-2.31-powerpc64le-linux-gnu.tar.xz") ("i586-gnu" "/20200326/glibc-stripped-2.31-i586-pc-gnu.tar.xz") (_ @@ -641,6 +670,9 @@ $out/bin/guile --version~%" ("aarch64-linux" (base32 "07nx3x8598i2924rjnlrncg6rm61c9bmcczbbcpbx0fb742nvv5c")) + ("powerpc64le-linux" + (base32 + "1a1df6z8gkaq09md3jy94lixnh20599p58p0s856p10xwjaqr1iz")) ("i586-gnu" (base32 "14ddm10lpbas8bankmn5bcrlqvz1v5dnn1qjzxb19r57vd2w5952")) @@ -713,6 +745,8 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ "/20150101/gcc-4.8.4.tar.xz") ("aarch64-linux" "/20170217/gcc-5.4.0.tar.xz") + ("powerpc64le-linux" + "/20210106/gcc-stripped-5.5.0-powerpc64le-linux-gnu.tar.xz") ("i586-gnu" "/20200326/gcc-stripped-5.5.0-i586-pc-gnu.tar.xz") (_ @@ -732,6 +766,9 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \ ("aarch64-linux" (base32 "1ar3vdzyqbfm0z36kmvazvfswxhcihlacl2dzdjgiq25cqnq9ih1")) + ("powerpc64le-linux" + (base32 + "151kjsai25vz2s667bgzpisx8f281fpl3n9pxz2yrp9jlnadz3m1")) ("i586-gnu" (base32 "1j2zc58wzil71a34h7c70sd68dmqvcscrw3rmn2whq79vd70zvv5")) -- 2.26.2