summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorChris Marusich <cmmarusich@gmail.com>2021-01-10 16:58:57 -0800
committerChris Marusich <cmmarusich@gmail.com>2021-03-23 23:19:53 -0700
commit8a1118a96c9ae128302c3d435ae77cb3dd693aea (patch)
tree6a39f1f3ab08e3faece7e1ac13575e59fc502f09 /gnu
parentdc68018e015a18fb75bc9f95ed57b33c574a39dd (diff)
gnu: bootstrap: Add support for powerpc64le-linux.
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 <https://bugs.gnu.org/41669>. * 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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bootstrap.scm39
1 files changed, 38 insertions, 1 deletions
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 @@
5;;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 5;;; Copyright © 2018, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
6;;; Copyright © 2019 Carl Dong <contact@carldong.me> 6;;; Copyright © 2019 Carl Dong <contact@carldong.me>
7;;; Copyright © 2019 Léo Le Bouter <lle-bout@zaclys.net> 7;;; Copyright © 2019 Léo Le Bouter <lle-bout@zaclys.net>
8;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
9;;; Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
8;;; 10;;;
9;;; This file is part of GNU Guix. 11;;; This file is part of GNU Guix.
10;;; 12;;;
@@ -122,16 +124,27 @@
122 ("tar" 124 ("tar"
123 ,(base32 "06gmqdjq3rl8lr47b9fyx4ifnm5x56ymc8lyryp1ax1j2s4y5jb4")) 125 ,(base32 "06gmqdjq3rl8lr47b9fyx4ifnm5x56ymc8lyryp1ax1j2s4y5jb4"))
124 ("xz" 126 ("xz"
125 ,(base32 "09j1d69qr0hhhx4k4ih8wp00dfc9y4rp01hfg3vc15yxd0jxabh5"))))) 127 ,(base32 "09j1d69qr0hhhx4k4ih8wp00dfc9y4rp01hfg3vc15yxd0jxabh5")))
128 ("powerpc64le-linux"
129 ("bash"
130 ,(base32 "1kiw7n6mkdy2x9in97646nb7aiayxr090ws1hbrlazah3fjqi6nj"))
131 ("mkdir"
132 ,(base32 "04dpvi231zcl40ig048vqqnyvmnkw1byrm1q1qqvs1f0g16yhrrk"))
133 ("tar"
134 ,(base32 "150c8948cz8r208g6qgn2dn4f4zs5kpgbpbg6bwag6yw42rapw2l"))
135 ("xz"
136 ,(base32 "0v5738idy9pqzcbrjdpxi5c6qs5m78zrpsydmrpx5cfcfzbkxzjh")))))
126 137
127(define %bootstrap-executable-base-urls 138(define %bootstrap-executable-base-urls
128 ;; This is where the bootstrap executables come from. 139 ;; This is where the bootstrap executables come from.
129 '("https://git.savannah.gnu.org/cgit/guix.git/plain/gnu/packages/bootstrap/" 140 '("https://git.savannah.gnu.org/cgit/guix.git/plain/gnu/packages/bootstrap/"
141 "https://alpha.gnu.org/gnu/guix/bootstrap/"
130 "http://lilypond.org/janneke/guix/")) 142 "http://lilypond.org/janneke/guix/"))
131 143
132(define (bootstrap-executable-file-name system program) 144(define (bootstrap-executable-file-name system program)
133 "Return the FILE-NAME part of url where PROGRAM can be found for SYSTEM." 145 "Return the FILE-NAME part of url where PROGRAM can be found for SYSTEM."
134 (match system 146 (match system
147 ("powerpc64le-linux" (string-append system "/20210106/" program))
135 ("i586-gnu" (string-append system "/20200326/" program)) 148 ("i586-gnu" (string-append system "/20200326/" program))
136 (_ (string-append system "/" program 149 (_ (string-append system "/" program
137 "?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e")))) 150 "?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e"))))
@@ -332,6 +345,8 @@ or false to signal an error."
332 "/20150101/guile-2.0.11.tar.xz") 345 "/20150101/guile-2.0.11.tar.xz")
333 ("i586-gnu" 346 ("i586-gnu"
334 "/20200326/guile-static-stripped-2.0.14-i586-pc-gnu.tar.xz") 347 "/20200326/guile-static-stripped-2.0.14-i586-pc-gnu.tar.xz")
348 ("powerpc64le-linux"
349 "/20210106/guile-static-stripped-2.0.14-powerpc64le-linux-gnu.tar.xz")
335 (_ 350 (_
336 "/20131110/guile-2.0.9.tar.xz")))) 351 "/20131110/guile-2.0.9.tar.xz"))))
337 352
@@ -346,6 +361,8 @@ or false to signal an error."
346 (base32 "0fzp93lvi0hn54acc0fpvhc7bvl0yc853k62l958cihk03q80ilr")) 361 (base32 "0fzp93lvi0hn54acc0fpvhc7bvl0yc853k62l958cihk03q80ilr"))
347 ("armhf-linux" 362 ("armhf-linux"
348 (base32 "1mi3brl7l58aww34rawhvja84xc7l1b4hmwdmc36fp9q9mfx0lg5")) 363 (base32 "1mi3brl7l58aww34rawhvja84xc7l1b4hmwdmc36fp9q9mfx0lg5"))
364 ("powerpc64le-linux"
365 (base32 "1rnyfz5q38jyvxddj617443bnnzql4vw0mxzqpj8wz48wx4bhbq0"))
349 ("aarch64-linux" 366 ("aarch64-linux"
350 (base32 "1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r")) 367 (base32 "1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r"))
351 ("i586-gnu" 368 ("i586-gnu"
@@ -479,6 +496,8 @@ $out/bin/guile --version~%"
479 "/20150101/static-binaries.tar.xz") 496 "/20150101/static-binaries.tar.xz")
480 ("aarch64-linux" 497 ("aarch64-linux"
481 "/20170217/static-binaries.tar.xz") 498 "/20170217/static-binaries.tar.xz")
499 ("powerpc64le-linux"
500 "/20210106/static-binaries-0-powerpc64le-linux-gnu.tar.xz")
482 ("i586-gnu" 501 ("i586-gnu"
483 "/20200326/static-binaries-0-i586-pc-gnu.tar.xz") 502 "/20200326/static-binaries-0-i586-pc-gnu.tar.xz")
484 (_ 503 (_
@@ -498,6 +517,9 @@ $out/bin/guile --version~%"
498 ("aarch64-linux" 517 ("aarch64-linux"
499 (base32 518 (base32
500 "18dfiq6c6xhsdpbidigw6480wh0vdgsxqq3xindq4lpdgqlccpfh")) 519 "18dfiq6c6xhsdpbidigw6480wh0vdgsxqq3xindq4lpdgqlccpfh"))
520 ("powerpc64le-linux"
521 (base32
522 "0afs2j9z2d1hjq42myz4iwjh0aqgzf59inifw87x6b6p1z9wv92v"))
501 ("i586-gnu" 523 ("i586-gnu"
502 (base32 524 (base32
503 "17kllqnf3fg79gzy9ansgi801c46yh9c23h4d923plvb0nfm1cfn")) 525 "17kllqnf3fg79gzy9ansgi801c46yh9c23h4d923plvb0nfm1cfn"))
@@ -547,6 +569,8 @@ $out/bin/guile --version~%"
547 "/20150101/binutils-2.25.tar.xz") 569 "/20150101/binutils-2.25.tar.xz")
548 ("aarch64-linux" 570 ("aarch64-linux"
549 "/20170217/binutils-2.27.tar.xz") 571 "/20170217/binutils-2.27.tar.xz")
572 ("powerpc64le-linux"
573 "/20210106/binutils-static-stripped-2.34-powerpc64le-linux-gnu.tar.xz")
550 ("i586-gnu" 574 ("i586-gnu"
551 "/20200326/binutils-static-stripped-2.34-i586-pc-gnu.tar.xz") 575 "/20200326/binutils-static-stripped-2.34-i586-pc-gnu.tar.xz")
552 (_ 576 (_
@@ -566,6 +590,9 @@ $out/bin/guile --version~%"
566 ("aarch64-linux" 590 ("aarch64-linux"
567 (base32 591 (base32
568 "111s7ilfiby033rczc71797xrmaa3qlv179wdvsaq132pd51xv3n")) 592 "111s7ilfiby033rczc71797xrmaa3qlv179wdvsaq132pd51xv3n"))
593 ("powerpc64le-linux"
594 (base32
595 "1klxy945c61134mzhqzz2gbk8w0n8jq7arwkrvz78d22ff2q0cwz"))
569 ("i586-gnu" 596 ("i586-gnu"
570 (base32 597 (base32
571 "11kykv1kmqc5wln57rs4klaqa13hm952smkc57qcsyss21kfjprs")) 598 "11kykv1kmqc5wln57rs4klaqa13hm952smkc57qcsyss21kfjprs"))
@@ -622,6 +649,8 @@ $out/bin/guile --version~%"
622 "/20150101/glibc-2.20.tar.xz") 649 "/20150101/glibc-2.20.tar.xz")
623 ("aarch64-linux" 650 ("aarch64-linux"
624 "/20170217/glibc-2.25.tar.xz") 651 "/20170217/glibc-2.25.tar.xz")
652 ("powerpc64le-linux"
653 "/20210106/glibc-stripped-2.31-powerpc64le-linux-gnu.tar.xz")
625 ("i586-gnu" 654 ("i586-gnu"
626 "/20200326/glibc-stripped-2.31-i586-pc-gnu.tar.xz") 655 "/20200326/glibc-stripped-2.31-i586-pc-gnu.tar.xz")
627 (_ 656 (_
@@ -641,6 +670,9 @@ $out/bin/guile --version~%"
641 ("aarch64-linux" 670 ("aarch64-linux"
642 (base32 671 (base32
643 "07nx3x8598i2924rjnlrncg6rm61c9bmcczbbcpbx0fb742nvv5c")) 672 "07nx3x8598i2924rjnlrncg6rm61c9bmcczbbcpbx0fb742nvv5c"))
673 ("powerpc64le-linux"
674 (base32
675 "1a1df6z8gkaq09md3jy94lixnh20599p58p0s856p10xwjaqr1iz"))
644 ("i586-gnu" 676 ("i586-gnu"
645 (base32 677 (base32
646 "14ddm10lpbas8bankmn5bcrlqvz1v5dnn1qjzxb19r57vd2w5952")) 678 "14ddm10lpbas8bankmn5bcrlqvz1v5dnn1qjzxb19r57vd2w5952"))
@@ -713,6 +745,8 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
713 "/20150101/gcc-4.8.4.tar.xz") 745 "/20150101/gcc-4.8.4.tar.xz")
714 ("aarch64-linux" 746 ("aarch64-linux"
715 "/20170217/gcc-5.4.0.tar.xz") 747 "/20170217/gcc-5.4.0.tar.xz")
748 ("powerpc64le-linux"
749 "/20210106/gcc-stripped-5.5.0-powerpc64le-linux-gnu.tar.xz")
716 ("i586-gnu" 750 ("i586-gnu"
717 "/20200326/gcc-stripped-5.5.0-i586-pc-gnu.tar.xz") 751 "/20200326/gcc-stripped-5.5.0-i586-pc-gnu.tar.xz")
718 (_ 752 (_
@@ -732,6 +766,9 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
732 ("aarch64-linux" 766 ("aarch64-linux"
733 (base32 767 (base32
734 "1ar3vdzyqbfm0z36kmvazvfswxhcihlacl2dzdjgiq25cqnq9ih1")) 768 "1ar3vdzyqbfm0z36kmvazvfswxhcihlacl2dzdjgiq25cqnq9ih1"))
769 ("powerpc64le-linux"
770 (base32
771 "151kjsai25vz2s667bgzpisx8f281fpl3n9pxz2yrp9jlnadz3m1"))
735 ("i586-gnu" 772 ("i586-gnu"
736 (base32 773 (base32
737 "1j2zc58wzil71a34h7c70sd68dmqvcscrw3rmn2whq79vd70zvv5")) 774 "1j2zc58wzil71a34h7c70sd68dmqvcscrw3rmn2whq79vd70zvv5"))