[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: qa.debian.org
Severity: wishlist
User: qa.debian.org@packages.debian.org
Usertags: bls
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org, brlink@debian.org
Control: user reproducible-builds@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

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: