guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reproducible build: linux-libre kernel


From: Ludovic Courtès
Subject: Re: Reproducible build: linux-libre kernel
Date: Thu, 31 Mar 2016 10:26:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Famulari <address@hidden> skribis:

> On Wed, Mar 30, 2016 at 11:25:54PM +0200, Ludovic Courtès wrote:
>> This is time-consuming but also very valuable work, so big thanks!
>
> Indeed! I'm really glad for this patch!
>
> Building with --rounds=2 right now :)

Almost there, but not quite!  :-)

I’ve just built it on x86_64, and:

--8<---------------cut here---------------start------------->8---
$ git describe 
v0.10.0-36-g4827b36
$ ./pre-inst-env guix challenge linux-libre
updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
updating list of substitutes from 'https://hydra.gnu.org'... 100.0%
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5 contents differ:
  local hash: 0sh393xb88sybf2dnk73yya02s3bflb29qswj0fn9lzbgiwk000a
  
https://mirror.hydra.gnu.org/nar/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5:
 0l2la1l9q6qiyf4i6pmbvvmh94l70yvzx4kdvqjyl7d9irykivma
  https://hydra.gnu.org/nar/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5: 
0l2la1l9q6qiyf4i6pmbvvmh94l70yvzx4kdvqjyl7d9irykivma
--8<---------------cut here---------------end--------------->8---

Closer inspection:

--8<---------------cut here---------------start------------->8---
$ wget -q -O - 
https://mirror.hydra.gnu.org/nar/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5
 | bunzip2 | guix archive -x /tmp/linux-libre
$ diff -ru --no-dereference /tmp/linux-libre 
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5
Binary files /tmp/linux-libre/bzImage and 
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5/bzImage differ
$ ls -lrt  /tmp/linux-libre/bzImage  
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5/bzImage
-r--r--r-- 2 root guixbuild 6965120 Jan  1  1970 
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5/bzImage
-rw-r--r-- 1 ludo users     6965120 Mar 31 10:11 /tmp/linux-libre/bzImage
$ size  /tmp/linux-libre/bzImage  
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5/bzImage
size: /tmp/linux-libre/bzImage: Warning: Ignoring section flag 
IMAGE_SCN_MEM_NOT_PAGED in section .bss
   text    data     bss     dec     hex filename
6964608       0 16398464        23363072        1647e00 /tmp/linux-libre/bzImage
size: /gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5/bzImage: 
Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss
6964608       0 16398464        23363072        1647e00 
/gnu/store/n20i0s96p29vkl07vlvxli5xql3m3hgi-linux-libre-4.5/bzImage
--8<---------------cut here---------------end--------------->8---

The diffoscope output is huge and not very helpful at first glance, but
I’m attaching it anyway.

I don’t see anything about the kernel Linux in the reproducibility notes
at <git://git.debian.org/git/reproducible/notes.git>.

It would be worth asking on the mailing list at
<https://lists.reproducible-builds.org/listinfo/rb-general> though.
Others have probably looked into it already and could provide useful
insight.  Any taker?

Thanks for looking into it!

Ludo’.

Attachment: t.html.gz
Description: diffoscope HTML output


reply via email to

[Prev in Thread] Current Thread [Next in Thread]