Bug#1101051: pvpgn: Compiled using -march=native -mtune=native
Adrian Bunk
bunk at debian.org
Sun Mar 23 21:25:12 GMT 2025
On Sat, Mar 22, 2025 at 04:49:44PM +0100, Laurent Bigonville wrote:
>...
> It seems that pvpgn is compiled using -march=native -mtune=native that
> means the binary might only work on the same CPU than the buildd, this
> is not OK
>
> (I also see that it uses -O3, AFAIK, this is not OK and debian prefer
> option -O2 only)
-march=native is really bad, and -mtune=native is also a problem due to
e.g. breaking reproducibility, but I am not aware of any general "not OK"
for -O3 in Debian.
The Debian default is -O2, but many packages are also using -O3 and
there is no strong reason against doing so if it is considered better
for a specific package.
> Kind regards,
> Laurent Bigonville
cu
Adrian
More information about the Pkg-games-devel
mailing list