[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48591: ugrep: reproducibility issues
From: |
Vagrant Cascadian |
Subject: |
bug#48591: ugrep: reproducibility issues |
Date: |
Thu, 24 Oct 2024 12:04:45 -0700 |
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
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#48591: ugrep: reproducibility issues,
Vagrant Cascadian <=