Bug#590273: phasex: FTBFS: Build using -march=native
kurt at roeckx.be
Tue Jul 27 06:35:55 UTC 2010
Your package is trying to use things like -march=native which
it shouldn't do for package. This means it's building for the
cpu it runs on, and will not run on older CPUs. This is always
the wrong thing to do for a packaged version.
> gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/alsa -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_GNU_SOURCE -D_REENTRANT -DPHASEX_CPU_POWER=2 -pipe -Wcast-align -mtune=native -march=native -m64 -O3 -ffast-math -fomit-frame-pointer -g -O2 -c phasex.c
> cc1: error: unrecognized command line option "-march=native"
> cc1: error: unrecognized command line option "-m64"
Option like -m64 also don't make sense on all arches.
More information about the pkg-multimedia-maintainers