GNU bug report logs - #48591
ugrep: reproducibility issues

Previous Next

Package: guix;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Sat, 22 May 2021 20:20:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: 48591 <at> debbugs.gnu.org
Cc: kiasoc5 <kiasoc5 <at> disroot.org>, Christopher Howard <christopher <at> librehacker.com>, zimoun <zimon.toutoune <at> gmail.com>, raingloom <raingloom <at> riseup.net>, Leo Famulari <leo <at> famulari.name>
Subject: bug#48591: ugrep: reproducibility issues
Date: Thu, 24 Oct 2024 12:04:45 -0700
[Message part 1 (text/plain, inline)]
On 2023-01-16, kiasoc5 wrote:
> Is this bug fixed yet?
>
> If not, seeing that this issue was motivated by an illegal instruction, 
> we can use compile flags to disable SSE and other platform-dependent 
> optimizations and investigate further.
>
> WDYT?
>
> https://github.com/Genivia/ugrep#other-platforms-step-3-build

--disable-sse2 disable SSE2 and AVX optimizations
--disable-avx2 disable AVX2 and AVX512BW optimizations, but compile with SSE2 when supported
--disable-neon disable ARM NEON/AArch64 optimizations

Seems like --disable-sse2 on x86_64 and x86 (32-bit) and --disable-neon
(armhf, maybe aarch64) would be needed to make the build independent of
which cpu it runs on.


FWIW, debian disables several of these (--disable-sse2 and
--disable-neon), although also passes --disable-avx which is not mentioned in
the upstream documentation, although is present in configure.ac...

  https://salsa.debian.org/debian/ugrep/-/blob/7e2383dfaec23d58587f53c31ce46ef884513975/debian/rules#L5-13


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.