Bug#903535: bls: warn about -mtune=native in build logs

Paul Wise pabs at debian.org
Wed Jul 11 03:30:36 BST 2018


Package: qa.debian.org
Severity: wishlist
User: qa.debian.org at packages.debian.org
Usertags: bls
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org, brlink at debian.org
Control: user reproducible-builds at lists.alioth.debian.org
Control: usertags -1 + infrastructure
Control: clone -1 -2
Control: reassign -2 bls-standalone

The Debian build log scanner (bls)[1] already detects[2] packages that
use -march=native in their build logs. This flag was added because it
breaks packages for users with older CPUs.

It is also important to detect for reproducible builds[3] purposes,
since it means the build can differ depending on the features supported
by the build CPU. 

Additionally, the -mtune=native flag can vary the build based on the
build CPU but not break it for users with older CPUs. This makes it an
important flag to detect for reproducible builds purposes too.

   1. https://qa.debian.org/bls/
   2. https://qa.debian.org/bls/bytag/E-march-native.html
   3. https://codesearch.debian.net/search?perpkg=1&q=-mtune=native
   4. https://reproducible-builds.org/

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20180711/69705139/attachment.sig>


More information about the Reproducible-builds mailing list