unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Request to verify powerpc64-linux bootstrap binaries
@ 2020-06-02  2:56 Chris Marusich
  2020-06-02  8:57 ` Vincent Legoll
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chris Marusich @ 2020-06-02  2:56 UTC (permalink / raw)
  To: guix-devel; +Cc: Léo Le Bouter

[-- Attachment #1: Type: text/plain, Size: 2766 bytes --]

Hi everyone!

Thanks to Léo's help, as of commit
8159ce1970d91567468cf1bacac313099a009d2a, the master branch now contains
all the changes necessary to cross-compile powerpc64-linux bootstrap
binaries.  I've done this without substitutes by running the following
commands on an x86_64-liinux machine.

First, to ensure you're using commit
8159ce1970d91567468cf1bacac313099a009d2a, put something like this in
your ~/.config/guix/channels.scm file:

(list (channel
        (name 'guix)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (commit
          "8159ce1970d91567468cf1bacac313099a009d2a")))

Then, run these commands:

# Confirm you're using the right guix.
guix describe
# Clear as many GC roots as possible, and do a GC run.
guix gc --delete-generations
# Build the bootstrap tarballs without substitutes.
guix build --no-substitutes --target=powerpc64-linux-gnu bootstrap-tarballs

After a few hours, you should see the following message:

successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0

On my end, the SHA-512 hashes of the binaries are:

--8<---------------cut here---------------start------------->8---
426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb  binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz
8aca7f332a1ba8e3c2225c161a7545b0a04ddd690d164dc97afee9c9ea067b0c49bc155e9f06d285c22e24cdd16d91e59730af5f1dd9efcda13a26bede5948a2  gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz
a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc554c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2  glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz
e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b  guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz
04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b  static-binaries-0-powerpc64-linux-gnu.tar.xz
--8<---------------cut here---------------end--------------->8---

Hopefully, you'll get identical results!  You don't have to run "guix
gc" if you don't want to, but doing so will increase the likelihood of
catching nondeterminism issues propagated from dependencies (which seem
unlikely, but you never know).  It took 3 or 4 for me hours on a modern
16-core machine.

Once we verify the binaries, we can actually start using them to build
stuff!  Léo has already gotten an optimistic start on that work, and
many things are building successfully.  Exciting!!

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Request to verify powerpc64-linux bootstrap binaries
  2020-06-02  2:56 Request to verify powerpc64-linux bootstrap binaries Chris Marusich
@ 2020-06-02  8:57 ` Vincent Legoll
  2020-06-02 14:16   ` Jack Hill
  2020-06-02 19:09   ` Chris Marusich
  2020-06-02 12:35 ` Maxim Cournoyer
  2020-06-04  6:34 ` Efraim Flashner
  2 siblings, 2 replies; 7+ messages in thread
From: Vincent Legoll @ 2020-06-02  8:57 UTC (permalink / raw)
  To: Chris Marusich, guix-devel; +Cc: Léo Le Bouter

Hello,

On 02/06/2020 04:56, Chris Marusich wrote:
> Hopefully, you'll get identical results!  You don't have to run "guix
> gc" if you don't want to, but doing so will increase the likelihood of
> catching nondeterminism issues propagated from dependencies (which seem
> unlikely, but you never know).  It took 3 or 4 for me hours on a modern
> 16-core machine.
> 
> Once we verify the binaries, we can actually start using them to build
> stuff!  Léo has already gotten an optimistic start on that work, and
> many things are building successfully.  Exciting!!

Almost there...

[A few hours passed...]
successfully built 
/gnu/store/pygln3lr6qbxcps3kmn3w4bc0d0nlpd3-gcc-stripped-tarball-5.5.0.drv
building 
/gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv...
/gnu/store/4v278jn0kd12zc6xwyr144lgi1ca7a69-guile-static-stripped-tarball-2.0.14/guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz 
-> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/rsmhiyplmbiqm1qwniiafi4ak76pd61v-gcc-stripped-tarball-5.5.0/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz 
-> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/fgw2hwyaw00xn8fb1pbpazl8hga8xfci-binutils-static-stripped-tarball-2.34/binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz 
-> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/p40gsw7qh5xzic38l99ildbxcz4zag3y-glibc-stripped-tarball-2.31/glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz 
-> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/svc6d7qrmacqc4pqzqhqyks421fb6jcb-static-binaries-tarball-0/static-binaries-0-powerpc64-linux-gnu.tar.xz 
-> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
successfully built 
/gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0

vince@guix ~/dev/repo/guix [env]$ sha512sum 
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/*
426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb 
 
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz
87f7583cf483ac3ba0ab978862873e68757bc4ddd10f739a90a9e4598f79e7fa45ec369c6efcff8d72fba87ea99f1e7a01a39450c7bf20790bc1d89d4b69a15b 
 
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz
a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc554c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2 
 
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz
e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b 
 
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz
04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b 
 
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/static-binaries-0-powerpc64-linux-gnu.tar.xz

vince@guix ~/dev/repo/guix [env]$ ./pre-inst-env guix describe
Git checkout:
   repository: /home/vince/dev/repo/guix
   branch: bootstrap-ppc64le
   commit: 8159ce1970d91567468cf1bacac313099a009d2a

Only gcc differs, I did not use a channel (nor gc'ed) but just a local
branch at the right commit:

git checkout -b bootstrap-ppc64le 8159ce1970d91567468cf1bacac313099a009d2a
make distclean
./bootstrap
./configure --localstatedir=/var
make -j 16
./pre-inst-env guix build --no-substitutes --target=powerpc64-linux-gnu 
bootstrap-tarballs

PS: Yes, it looks like I misnamed my branch, endian-size-wise...

-- 
Vincent Legoll




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Request to verify powerpc64-linux bootstrap binaries
  2020-06-02  2:56 Request to verify powerpc64-linux bootstrap binaries Chris Marusich
  2020-06-02  8:57 ` Vincent Legoll
@ 2020-06-02 12:35 ` Maxim Cournoyer
  2020-06-04  6:34 ` Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2020-06-02 12:35 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix-devel, Léo Le Bouter

[-- Attachment #1: Type: text/plain, Size: 6164 bytes --]

Hi Chris!

Chris Marusich <cmmarusich@gmail.com> writes:

> Hi everyone!
>
> Thanks to Léo's help, as of commit
> 8159ce1970d91567468cf1bacac313099a009d2a, the master branch now contains
> all the changes necessary to cross-compile powerpc64-linux bootstrap
> binaries.  I've done this without substitutes by running the following
> commands on an x86_64-liinux machine.
>
> First, to ensure you're using commit
> 8159ce1970d91567468cf1bacac313099a009d2a, put something like this in
> your ~/.config/guix/channels.scm file:
>
> (list (channel
>         (name 'guix)
>         (url "https://git.savannah.gnu.org/git/guix.git")
>         (commit
>           "8159ce1970d91567468cf1bacac313099a009d2a")))
>
> Then, run these commands:
>
> # Confirm you're using the right guix.
> guix describe
> # Clear as many GC roots as possible, and do a GC run.
> guix gc --delete-generations
> # Build the bootstrap tarballs without substitutes.
> guix build --no-substitutes --target=powerpc64-linux-gnu bootstrap-tarballs
>
> After a few hours, you should see the following message:
>
> successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv
> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
>
> On my end, the SHA-512 hashes of the binaries are:
>
> 426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb  binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz
> 8aca7f332a1ba8e3c2225c161a7545b0a04ddd690d164dc97afee9c9ea067b0c49bc155e9f06d285c22e24cdd16d91e59730af5f1dd9efcda13a26bede5948a2  gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz
> a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc554c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2  glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz
> e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b  guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz
> 04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b  static-binaries-0-powerpc64-linux-gnu.tar.xz

Here's what I did:

cd /tmp
guix pull --commit=8159ce1970d91567468cf1bacac313099a009d2a -p guix-ppc64-bootstrap
GUIX_PROFILE="/tmp/guix-ppc64-bootstrap"
. "$GUIX_PROFILE/etc/profile"
time guix build --no-substitutes --target=powerpc64-linux-gnu bootstrap-tarballs

successfully built /gnu/store/wy4dc833vzfd85mphm00p8c99l0ny73a-guile-static-stripped-tarball-2.0.14.drv
building /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv...
/gnu/store/4v278jn0kd12zc6xwyr144lgi1ca7a69-guile-static-stripped-tarball-2.0.14/guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/rsmhiyplmbiqm1qwniiafi4ak76pd61v-gcc-stripped-tarball-5.5.0/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/fgw2hwyaw00xn8fb1pbpazl8hga8xfci-binutils-static-stripped-tarball-2.34/binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/p40gsw7qh5xzic38l99ildbxcz4zag3y-glibc-stripped-tarball-2.31/glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
/gnu/store/svc6d7qrmacqc4pqzqhqyks421fb6jcb-static-binaries-tarball-0/static-binaries-0-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0

real    31m21.749s
user    1m33.985s
sys     0m7.399s

As for the SHA-512 hashes:

--8<---------------cut here---------------start------------->8---
for f in /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/*; do sha512sum "$f"; done
426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz

841f1839c041512f893d5fa62fbc402dda1589222ee5365849d2e3f0a55df7abd0ca856c302b4d7ef80d07abfa6b04468cc494efdccbc097df2eceb181eebd15
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz

a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc554c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz

e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz

04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b
/gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/static-binaries-0-powerpc64-linux-gnu.tar.xz
--8<---------------cut here---------------end--------------->8---

binutils: OK
gcc: NOK
glibc: OK
guile: OK
static-binaries: OK

Only my gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz has a different
checksum.

> Hopefully, you'll get identical results!  You don't have to run "guix
> gc" if you don't want to, but doing so will increase the likelihood of
> catching nondeterminism issues propagated from dependencies (which seem
> unlikely, but you never know).  It took 3 or 4 for me hours on a modern
> 16-core machine.
>
> Once we verify the binaries, we can actually start using them to build
> stuff!  Léo has already gotten an optimistic start on that work, and
> many things are building successfully.  Exciting!!

Congrats to Léo and all those involved in this porting effort!

Thank you!

Maxim

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Request to verify powerpc64-linux bootstrap binaries
  2020-06-02  8:57 ` Vincent Legoll
@ 2020-06-02 14:16   ` Jack Hill
  2020-06-02 19:09   ` Chris Marusich
  1 sibling, 0 replies; 7+ messages in thread
From: Jack Hill @ 2020-06-02 14:16 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: guix-devel, Léo Le Bouter

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

On Tue, 2 Jun 2020, Vincent Legoll wrote:

> Hello,
>
> On 02/06/2020 04:56, Chris Marusich wrote:
>> Hopefully, you'll get identical results!  You don't have to run "guix
>> gc" if you don't want to, but doing so will increase the likelihood of
>> catching nondeterminism issues propagated from dependencies (which seem
>> unlikely, but you never know).  It took 3 or 4 for me hours on a modern
>> 16-core machine.

heh, it didn't take that much longer, 530 minutes on my less modern 2-core 
x86_64 machine.

>> Once we verify the binaries, we can actually start using them to build
>> stuff!  Léo has already gotten an optimistic start on that work, and
>> many things are building successfully.  Exciting!!
>
> Almost there...

yes, congratulations!

> 87f7583cf483ac3ba0ab978862873e68757bc4ddd10f739a90a9e4598f79e7fa45ec369c6efcff8d72fba87ea99f1e7a01a39450c7bf20790bc1d89d4b69a15b 
> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz

I can confirm the difference with gcc-stripped. Mine was 
15f93200ef1cdde5a5721b1d4cfb4c9c5e22b4b945c77f56f60c388da99cf557d13474d14205a529cf9af9f29fb69591e17392387c0444e0efb7c85edcf30ff0

All the other hashes were the same.

Best,
Jack

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Request to verify powerpc64-linux bootstrap binaries
  2020-06-02  8:57 ` Vincent Legoll
  2020-06-02 14:16   ` Jack Hill
@ 2020-06-02 19:09   ` Chris Marusich
  2020-06-03  4:01     ` Jack Hill
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Marusich @ 2020-06-02 19:09 UTC (permalink / raw)
  To: Vincent Legoll, Jack Hill, Maxim Cournoyer; +Cc: guix-devel, Léo Le Bouter

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]

Hi Vincent, Jack, and Maxim,

Thank you for the quick replies!  OK, so gcc differs for each of us:

* Chris: 8aca7f332a1ba8e3c2225c161a7545b0a04ddd690d164dc97afee9c9ea067b0c49bc155e9f06d285c22e24cdd16d91e59730af5f1dd9efcda13a26bede5948a2
* Vincent: 87f7583cf483ac3ba0ab978862873e68757bc4ddd10f739a90a9e4598f79e7fa45ec369c6efcff8d72fba87ea99f1e7a01a39450c7bf20790bc1d89d4b69a15b
* Jack: 15f93200ef1cdde5a5721b1d4cfb4c9c5e22b4b945c77f56f60c388da99cf557d13474d14205a529cf9af9f29fb69591e17392387c0444e0efb7c85edcf30ff0
* Maxim: 841f1839c041512f893d5fa62fbc402dda1589222ee5365849d2e3f0a55df7abd0ca856c302b4d7ef80d07abfa6b04468cc494efdccbc097df2eceb181eebd15

I have opened up a bug report for this issue, so we can continue the
discussion there:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41669

I will try on my end to obtain a differing gcc to see if I can analyze
the difference.  In the meantime, could you share your gcc with me so I
can see what the contents looks like?  This is mine:

https://media.marusich.info/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz

Hopefully we can pinpoint the source of the non-determinism and fix it!

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Request to verify powerpc64-linux bootstrap binaries
  2020-06-02 19:09   ` Chris Marusich
@ 2020-06-03  4:01     ` Jack Hill
  0 siblings, 0 replies; 7+ messages in thread
From: Jack Hill @ 2020-06-03  4:01 UTC (permalink / raw)
  To: Chris Marusich; +Cc: Maxim Cournoyer, Léo Le Bouter, guix-devel

On Tue, 2 Jun 2020, Chris Marusich wrote:

> I have opened up a bug report for this issue, so we can continue the
> discussion there:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41669
>
> I will try on my end to obtain a differing gcc to see if I can analyze
> the difference.  In the meantime, could you share your gcc with me so I
> can see what the contents looks like?  This is mine:
>
> https://media.marusich.info/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz

Sure, mine is at:

https://jackhill.us/misc/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz

Wishing us a speedy investigation,
Jack


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Request to verify powerpc64-linux bootstrap binaries
  2020-06-02  2:56 Request to verify powerpc64-linux bootstrap binaries Chris Marusich
  2020-06-02  8:57 ` Vincent Legoll
  2020-06-02 12:35 ` Maxim Cournoyer
@ 2020-06-04  6:34 ` Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2020-06-04  6:34 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix-devel, Léo Le Bouter

[-- Attachment #1: Type: text/plain, Size: 5295 bytes --]

On Mon, Jun 01, 2020 at 07:56:43PM -0700, Chris Marusich wrote:
> Hi everyone!
> 
> Thanks to Léo's help, as of commit
> 8159ce1970d91567468cf1bacac313099a009d2a, the master branch now contains
> all the changes necessary to cross-compile powerpc64-linux bootstrap
> binaries.  I've done this without substitutes by running the following
> commands on an x86_64-liinux machine.
> 
> First, to ensure you're using commit
> 8159ce1970d91567468cf1bacac313099a009d2a, put something like this in
> your ~/.config/guix/channels.scm file:
> 
> (list (channel
>         (name 'guix)
>         (url "https://git.savannah.gnu.org/git/guix.git")
>         (commit
>           "8159ce1970d91567468cf1bacac313099a009d2a")))
> 
> Then, run these commands:
> 
> # Confirm you're using the right guix.
> guix describe
> # Clear as many GC roots as possible, and do a GC run.
> guix gc --delete-generations
> # Build the bootstrap tarballs without substitutes.
> guix build --no-substitutes --target=powerpc64-linux-gnu bootstrap-tarballs
> 
> After a few hours, you should see the following message:
> 
> successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.drv
> /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0
> 
> On my end, the SHA-512 hashes of the binaries are:
> 
> --8<---------------cut here---------------start------------->8---
> 426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb  binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz
> 8aca7f332a1ba8e3c2225c161a7545b0a04ddd690d164dc97afee9c9ea067b0c49bc155e9f06d285c22e24cdd16d91e59730af5f1dd9efcda13a26bede5948a2  gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz
> a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc554c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2  glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz
> e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b  guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz
> 04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b  static-binaries-0-powerpc64-linux-gnu.tar.xz
> --8<---------------cut here---------------end--------------->8---
> 
> Hopefully, you'll get identical results!  You don't have to run "guix
> gc" if you don't want to, but doing so will increase the likelihood of
> catching nondeterminism issues propagated from dependencies (which seem
> unlikely, but you never know).  It took 3 or 4 for me hours on a modern
> 16-core machine.
> 
> Once we verify the binaries, we can actually start using them to build
> stuff!  Léo has already gotten an optimistic start on that work, and
> many things are building successfully.  Exciting!!

After 3(?) days and several reboots I built the bootstrap binaries from
an aarch64-linux machine using the commit.

(ins)efraim@pine64:~/workspace/guix$ git log -1
commit 8159ce1970d91567468cf1bacac313099a009d2a (HEAD -> master)
Author: Léo Le Bouter <lle-bout@zaclys.net>
Date:   Tue May 21 05:00:30 2019 +0000

    gnu: bootstrap: Add powerpc64-linux dynamic linker.

    This makes it possible to build bootstrap binaries for powerpc64-linux:

      guix build --target=powerpc64-linux-gnu bootstrap-tarballs

    * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add an entry for
    powerpc64-linux.

    Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
(ins)efraim@pine64:~/workspace/guix$ sha512sum /gnu/store/38zyf3y0fvi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/*
426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb  /gnu/store/38zyf3y0fvi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz
74ac175b22f9964cefbcc94c8589e14fac1ae2c98879f84d40faa352aa9dd108e7ba631e6b35cceae263507d0cc956f31c49af686c1e60850b97c51878bf533d  /gnu/store/38zyf3y0fvi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz
0693dc1a0c85ab23ec2f8bbb89a8819c384d50a8830297d0900d6caa94f75c67bbb6f300d182f855e8e6c88810caf1f183e9b24cda574c470dc129641dac1258  /gnu/store/38zyf3y0fvi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/glibc-stripped-2.31-powerpc64-linux-gnu.tar.xz
e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b  /gnu/store/38zyf3y0fvi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz
04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b  /gnu/store/38zyf3y0fvi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/static-binaries-0-powerpc64-linux-gnu.tar.xz

my gcc-stripped tarball should be available at
https://flashner.co.il/~efraim/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-04  6:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02  2:56 Request to verify powerpc64-linux bootstrap binaries Chris Marusich
2020-06-02  8:57 ` Vincent Legoll
2020-06-02 14:16   ` Jack Hill
2020-06-02 19:09   ` Chris Marusich
2020-06-03  4:01     ` Jack Hill
2020-06-02 12:35 ` Maxim Cournoyer
2020-06-04  6:34 ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).