[Debian-med-packaging] Bug#974850: proteinortho must not use -march=native -mtune=native
Adrian Bunk
bunk at debian.org
Sun Nov 15 14:53:17 GMT 2020
Source: proteinortho
Version: 6.0.24+dfsg-1
Severity: serious
-march=native is a baseline violation.
And even worse, every rebuild (e.g. security update in stable)
might change where it can run since it makes code run only on
hardware compatible with the hardware of whatever buildd
happened to build the package.
As an example, on amd64 the same package
built on an Intel CPU might not run on any AMD CPU, but
built on an AMD CPU might not run on any Intel CPU
if -march=native is used.
-mtune=native is not a baseline violation,
but it breaks reproducibility.
More information about the Debian-med-packaging
mailing list