[Debichem-devel] Bug#840186: nwchem builds on amd64 with -march=native
Adrian Bunk
bunk at stusta.de
Sun Oct 9 11:59:15 UTC 2016
Source: nwchem
Version: 6.6+r27746-2
Severity: grave
src/config/makefile{,-legacy}.h sets -march=native
and -mtune=native in amd64 builds.
-march=native means the code will only run on machines with a CPU
compatible with the one on the machine where the package
was built.
Building on a different buildd machine can also change
where the code can run - including breaking existing
setups in stable updates.
-mtune=native is less fatal, but in addition to (rare) problems
due to the fact that the program is compiled differently depending
on the build machine it makes the build non-reproducible.
Please remove -march=native and -mtune=native
More information about the Debichem-devel
mailing list