[Debian-med-packaging] Bug#866139: phyml uses -march=native

Adrian Bunk bunk at debian.org
Tue Jun 27 18:02:58 UTC 2017


Source: phyml
Version: 3:3.3.20170530+dfsg-1
Severity: serious

https://buildd.debian.org/status/package.php?p=phyml&suite=sid

...
gcc  -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -std=c99 -O2 -fomit-frame-pointer -funroll-loops -Wall -Winline -march=native -c -o optimiz.o optimiz.c


.: Building [phyml]. Version 3.3.3:3.3.20170530+dfsg-1 :.


gcc: error: unrecognized command line option '-march=native'; did you mean '-mcpu=native'?
gcc: error: unrecognized command line option '-march=native'; did you mean '-mcpu=native'?
Makefile:1682: recipe for target 'main.o' failed
make[4]: *** [main.o] Error 1


The -march=native option must not be used:
- it causes FTBFS on !x86
- on x86 it causes the binaries to only run on machines compatible with
  whatever buildd happened to build the package



More information about the Debian-med-packaging mailing list