Severity 949638 normal Thanks On 24/01/2020 19:16, Stefan Weil wrote:
As far as I know all Linux distributions use the autoconf based build,
Debian certainly does appear to be using the autoconf based build.
The default autoconf build uses -march=native only if it is supported by the compiler
Which, of course it is.
and only for a single file, but not for the rest of the code. The code from that single file is not executed by default, but only if an advanced user runs Tesseract with a special command line option (-c dotproduct=native).
Ok, that dramatically reduces the impact of this issue. Downgrading the bug to normal. I still don't think -march=native is appropriate for a binary distribution though. If you want to offer different versions of the code built with different CPU requirements, that is fine, but please don't let them depend on what CPU happens to be in the autobuilder.