#39157: In mplayer-devel clang uses wrong optimisation: -march=corei7-avx -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: mplayer-devel -----------------------------+-------------------------------- Here are excerpts from fetching until compilation: {{{ Note: checking out 'dd17843b8ab3e1357f33069dae9af8e5b4e43d11'. }}} {{{ Checking for host cc ... /usr/bin/clang Checking for CPU vendor ... GenuineIntel (6:42:7) Checking for CPU type ... Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz Checking for kernel support of mmx ... yes Checking for kernel support of mmxext ... yes Checking for kernel support of sse ... yes Checking for kernel support of sse2 ... yes Checking for kernel support of sse3 ... yes Checking for kernel support of ssse3 ... yes Checking for kernel support of sse4_1 ... yes Checking for kernel support of sse4_2 ... yes Checking for kernel support of avx ... yes Checking for kernel support of cmov ... yes Checking for mtrr support ... yes Checking for GCC & CPU optimization abilities ... corei7-avx }}} {{{ Optimizing for: corei7-avx }}} {{{ /usr/bin/clang -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -I/opt/local/include/lzo -I/opt/local/include -DPIC -fpie -I/usr/X11/include -I/opt/local/include/opus -c -o input/input.o input/input.c 'corei7-avx' is not a recognized processor for this target (ignoring processor) }}} It's doubtful whether this built an optimised version of mplayer… -- Ticket URL: <https://trac.macports.org/ticket/39157> MacPorts <http://www.macports.org/> Ports system for OS X