all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24028: Linux-libre kernel does not build deterministically
@ 2016-07-19 17:22 Ludovic Courtès
  2020-10-09 21:17 ` Maxim Cournoyer
  2021-05-17 18:38 ` Bone Baboon via Bug reports for GNU Guix
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2016-07-19 17:22 UTC (permalink / raw)
  To: 24028

As of version 4.6.4, Linux-libre does not build reproducibly:

--8<---------------cut here---------------start------------->8---
$ guix challenge linux-libre
/gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 contents differ:
  local hash: 1py214sd42qcq8l429m4zf4aibp8rl68kpkrzqi1nn65vnbxsx11
  https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4: 19hsdsjy5i9nfc1g28s074znzimzhylgkdpwz435j301sn9pxxp9
$ wget -q -O - https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 | bunzip2 | guix archive -x t
$ diff -ur --no-dereference /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 /tmp/t
Binary files /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4/bzImage and /tmp/t/bzImage differ
--8<---------------cut here---------------end--------------->8---

Apparently people are working on it:
<https://wiki.debian.org/SameKernel>.

Ludo’.

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

* bug#24028: Linux-libre kernel does not build deterministically
  2016-07-19 17:22 bug#24028: Linux-libre kernel does not build deterministically Ludovic Courtès
@ 2020-10-09 21:17 ` Maxim Cournoyer
  2021-09-14 11:59   ` zimoun
  2021-05-17 18:38 ` Bone Baboon via Bug reports for GNU Guix
  1 sibling, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2020-10-09 21:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 24028

Hello,

ludo@gnu.org (Ludovic Courtès) writes:

> As of version 4.6.4, Linux-libre does not build reproducibly:
>
> $ guix challenge linux-libre
> /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 contents differ:
>   local hash: 1py214sd42qcq8l429m4zf4aibp8rl68kpkrzqi1nn65vnbxsx11
>   https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4: 19hsdsjy5i9nfc1g28s074znzimzhylgkdpwz435j301sn9pxxp9
> $ wget -q -O - https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 | bunzip2 | guix archive -x t
> $ diff -ur --no-dereference /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 /tmp/t
> Binary files /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4/bzImage and /tmp/t/bzImage differ
>
> Apparently people are working on it:
> <https://wiki.debian.org/SameKernel>.
>
> Ludo’.

I just tested with linux-libre 5.8.10, and it still suffers from
reproducibility problems, but only for one file:

--8<---------------cut here---------------start------------->8---
diff -r /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10{,-check}
Binary files /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10/bzImage and /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10-check/bzImage differ
--8<---------------cut here---------------end--------------->8---

So, we're not far!

Maxim




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

* bug#24028: Linux-libre kernel does not build deterministically
  2016-07-19 17:22 bug#24028: Linux-libre kernel does not build deterministically Ludovic Courtès
  2020-10-09 21:17 ` Maxim Cournoyer
@ 2021-05-17 18:38 ` Bone Baboon via Bug reports for GNU Guix
  1 sibling, 0 replies; 5+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-17 18:38 UTC (permalink / raw)
  To: 24028

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

Linux-libre is not reproducible.

`guix describe` outputs:

```
Generation 24   May 12 2021 18:06:24    (current)
  guix d6aeebb
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: d6aeebb23639258311fdfb9dbf5f903079fde51a
```

`guix challenge
/gnu/store/k029d836d3slh3s5k20306zvnph5ggq4-linux-libre-5.11.16`
outputs:

```
/gnu/store/k029d836d3slh3s5k20306zvnph5ggq4-linux-libre-5.11.16 contents differ:
  local hash: 1xkzhdkqbnh1prryz2bbbz1fsydsb9srhzpj27mpx1dv47fq2r05
  https://ci.guix.gnu.org/nar/zstd/k029d836d3slh3s5k20306zvnph5ggq4-linux-libre-5.11.16: 0w8n65xr91g9kiwik8kf8h1jn1scwfjcbwwnqbrfiyv8k7gr8kql
  differing file:
    /bzImage

1 store items were analyzed:
  - 0 (0.0%) were identical
  - 1 (100.0%) differed
  - 0 (0.0%) were inconclusive
```

`guix challenge
/gnu/store/rcav1xxn4ajkbnkmrnl6jr5d1zb20kq1-linux-libre-5.11.14`
outputs:

```
/gnu/store/rcav1xxn4ajkbnkmrnl6jr5d1zb20kq1-linux-libre-5.11.14 contents differ:
  local hash: 1z2v884l98ysl0vass4dchwfpavnk47x8brcx8h31qp3bj1xyhaz
  https://ci.guix.gnu.org/nar/zstd/rcav1xxn4ajkbnkmrnl6jr5d1zb20kq1-linux-libre-5.11.14: 1nlmjamm0yc2mjwdy0rq7qplilrwz1b8zm4m688kra21xqx09aar
differing file:
    /bzImage

1 store items were analyzed:
  - 0 (0.0%) were identical
  - 1 (100.0%) differed
  - 0 (0.0%) were inconclusive
```

Attached is the diffoscope output.

[-- Attachment #2: diffoscope-linux-libre-5.11.14.txt.lz --]
[-- Type: application/octet-stream, Size: 2052096 bytes --]

[-- Attachment #3: diffoscope-linux-libre-5.11.16.txt.lz --]
[-- Type: application/octet-stream, Size: 2114086 bytes --]

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

* bug#24028: Linux-libre kernel does not build deterministically
  2020-10-09 21:17 ` Maxim Cournoyer
@ 2021-09-14 11:59   ` zimoun
  2021-11-21 14:12     ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2021-09-14 11:59 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 24028

Hi,

On Fri, 09 Oct 2020 at 17:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> As of version 4.6.4, Linux-libre does not build reproducibly:
>>
>> $ guix challenge linux-libre
>> /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 contents differ:
>>   local hash: 1py214sd42qcq8l429m4zf4aibp8rl68kpkrzqi1nn65vnbxsx11
>>   https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4:
>> 19hsdsjy5i9nfc1g28s074znzimzhylgkdpwz435j301sn9pxxp9
>> $ wget -q -O -
>> https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4
>> | bunzip2 | guix archive -x t
>> $ diff -ur --no-dereference /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 /tmp/t
>> Binary files /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4/bzImage and /tmp/t/bzImage differ
>>
>> Apparently people are working on it:
>> <https://wiki.debian.org/SameKernel>.
>
> I just tested with linux-libre 5.8.10, and it still suffers from
> reproducibility problems, but only for one file:
>
> diff -r /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10{,-check}
> Binary files /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10/bzImage and /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10-check/bzImage differ

Still the same issue with 5.13.15.

diff -r --no-dereference /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15{,-check}
Binary files /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15/bzImage and /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15-check/bzImage differ


All the best,
simon




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

* bug#24028: Linux-libre kernel does not build deterministically
  2021-09-14 11:59   ` zimoun
@ 2021-11-21 14:12     ` Maxim Cournoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2021-11-21 14:12 UTC (permalink / raw)
  To: zimoun; +Cc: 24028-done

Hello,

zimoun <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Fri, 09 Oct 2020 at 17:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>>> As of version 4.6.4, Linux-libre does not build reproducibly:
>>>
>>> $ guix challenge linux-libre
>>> /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 contents differ:
>>>   local hash: 1py214sd42qcq8l429m4zf4aibp8rl68kpkrzqi1nn65vnbxsx11
>>>   https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4:
>>> 19hsdsjy5i9nfc1g28s074znzimzhylgkdpwz435j301sn9pxxp9
>>> $ wget -q -O -
>>> https://hydra.gnu.org/nar/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4
>>> | bunzip2 | guix archive -x t
>>> $ diff -ur --no-dereference /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4 /tmp/t
>>> Binary files /gnu/store/wkdnd1dcgljr0jxmd3li8j0qsr2zwrci-linux-libre-4.6.4/bzImage and /tmp/t/bzImage differ
>>>
>>> Apparently people are working on it:
>>> <https://wiki.debian.org/SameKernel>.
>>
>> I just tested with linux-libre 5.8.10, and it still suffers from
>> reproducibility problems, but only for one file:
>>
>> diff -r /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10{,-check}
>> Binary files /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10/bzImage and /gnu/store/jc1dydmax5sdfljpi5mq5dhq9wdr92xy-linux-libre-5.8.10-check/bzImage differ
>
> Still the same issue with 5.13.15.
>
> diff -r --no-dereference /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15{,-check}
> Binary files /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15/bzImage and /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15-check/bzImage differ

Fixed in 01ea70a29c on core-updates-frozen, after taking hints from
https://lwn.net/Articles/841624/.

Thanks,

Closing.

Maxim




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

end of thread, other threads:[~2021-11-21 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19 17:22 bug#24028: Linux-libre kernel does not build deterministically Ludovic Courtès
2020-10-09 21:17 ` Maxim Cournoyer
2021-09-14 11:59   ` zimoun
2021-11-21 14:12     ` Maxim Cournoyer
2021-05-17 18:38 ` Bone Baboon via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.