Bug#949638: tesseract: uses -march=native

2020-05-24 Thread Adrian Bunk
On Sun, May 24, 2020 at 10:14:49PM +0200, Stefan Weil wrote: > Adrian, I am afraid that there is a misunderstanding. > > The code part which is compiled with -march=native is never executed by > default. I get that point. > There is a command line option which allows users to select the code >

Bug#949638: tesseract: uses -march=native

2020-05-24 Thread Stefan Weil
Adrian, I am afraid that there is a misunderstanding. The code part which is compiled with -march=native is never executed by default. There is a command line option which allows users to select the code which is used for certain time critical calculations (dot product). A wrong choice is not a

Processed: Re: Bug#949638: tesseract: uses -march=native

2020-05-24 Thread Debian Bug Tracking System
Processing control commands: > severity -1 serious Bug #949638 [tesseract] tesseract: uses -march=native Severity set to 'serious' from 'normal' -- 949638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949638 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems

Bug#949638: tesseract: uses -march=native

2020-01-24 Thread peter green
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

Bug#949638: tesseract: uses -march=native

2020-01-24 Thread Stefan Weil
It is not necessary to patch Tesseract code if for whatever reason -march=native is completely unwanted. `make libtesseract_native_la_CXXFLAGS=` will override the extra compiler flags which are used to produce the native code, so only the default flags which don't include -march=native will be

Bug#949638: tesseract: uses -march=native

2020-01-24 Thread Stefan Weil
> The URL for the patch is 404. s/tessarect/tesseract/ The fixed URL is https://debdiffs.raspbian.org/main/t/tesseract/. Stefan

Bug#949638: tesseract: uses -march=native

2020-01-24 Thread Stefan Weil
Am 24.01.20 um 19:55 schrieb Jeff Breidenbach: > > Regarding: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949638 > > Thank you, Peter. > > 1. The URL for the patch is 404. > > 2. There may be some subtlety with -march=native, specifically related to > detection of  SIMD instructions like

Bug#949638: tesseract: uses -march=native

2020-01-24 Thread Jeff Breidenbach
BCC: Stefan Weil since I don't know if he wants his email posted in bugs.debian.org Regarding: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949638 Thank you, Peter. 1. The URL for the patch is 404. 2. There may be some subtlety with -march=native, specifically related to detection of

Bug#949638: tesseract: uses -march=native

2020-01-22 Thread peter green
Package: tesseract Version: 4.1.0-1 Severity: serious Tags: patch I recently discovered that tesseract 4.1.1-1 failed the armv7 contamination check we run in raspbian. Investigating shows that since version 4.1.0-1 tesseract started using -march=native. This compiler option is totally