Bug#954917: Do not rely on autodetection for CPU optimisations (SSE, SSE3, AVX)
Laurent Bigonville
bigon at debian.org
Sun Apr 12 09:48:37 BST 2020
tag 954917 + patch
user reproducible-builds at lists.alioth.debian.org
usertag 954917 + cpu
thanks
On Wed, 25 Mar 2020 10:39:36 +0100 Laurent Bigonville <bigon at debian.org>
wrote:
> Hello,
>
> I see that the configure is autodetecting at buildtime whether several
> CPU optimisations (SSE, SSE3, AVX) should be enabled or not.
>
> I feel this is not OK as building the package on different hardware
> would result in different binaries being generated.
>
> AFAICS, the code is detecting at runtime if the CPU is supporting these
> features, so I think that it's fine to force enable these 3 on i386 and
> amd64 and not rely on autodetection in the configure (and force disable
> them on the other architectures).
>
> On x32 port, the package FTBFS due to an issue related to this.
Please find here a patch that fixes all of this
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 954917.patch
Type: text/x-patch
Size: 1126 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200412/c285e167/attachment.bin>
More information about the Pkg-grass-devel
mailing list