[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44337: [squid] Reproducibility bug in squid package
From: |
Ludovic Courtès |
Subject: |
bug#44337: [squid] Reproducibility bug in squid package |
Date: |
Mon, 02 Nov 2020 14:38:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi Jean-Baptiste,
Jean-Baptiste Note <jean-baptiste.note@m4x.org> skribis:
> The squid package as provided from substitute servers currently crashes
> on my (admittedly old) Core 2 Duo server. Though generally observed in
> a different context (virtualization), this is an FAQ from SQUID -- see:
>
> https://wiki.squid-cache.org/KnowledgeBase/IllegalInstructionError
>
> I think the fix of disabling -march=native should actually be applied.
> In the current state, not only does the package not work on some x86_64
> machines, but the outcome of the build depends on the builder machine
> and thus defeats reproducibility.
Indeed. Our goal is to provide “generic” binaries, so disabling
‘-march=native’ is the right thing anyway.
> NB: maybe a more general fix could be envisionned for these kind of
> -march=native issues; this is admittedly a pretty local fix.
In practice it seems that packages rarely do that by default (with
linear algebra software being an exception), though I don’t have hard
figures.
>>From 199ca1036197064d609a8f76a7eb46b6e72996fb Mon Sep 17 00:00:00 2001
> From: Jean-Baptiste Note <jean-baptiste.note@m4x.org>
> Date: Wed, 28 Oct 2020 11:22:39 -0400
> Subject: [PATCH] gnu: squid: Fix build reproducibility issue.
>
> * gnu/packages/networking.scm (squid): Add --disable-arch-native configure
> flag.
Applied, thanks!
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#44337: [squid] Reproducibility bug in squid package,
Ludovic Courtès <=