[MacPorts] #39157: In mplayer-devel clang uses wrong optimisation: -march=corei7-avx
#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
#39157: mplayer-devel: clang does not recognize -march=corei7-avx ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: mplayer-devel | ------------------------------+------------------------ Changes (by larryv@…): * owner: macports-tickets@… => jeremyhu@… * cc: jeremyhu@… (removed) * cc: vince@… (added) -- Ticket URL: <https://trac.macports.org/ticket/39157#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39157: mplayer-devel: clang does not recognize -march=corei7-avx ------------------------------+------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: mplayer-devel | ------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: clang-3.0 and later do: (17:55:47 Mon May 20 2013 jeremy@aerith x86_64) ~/src/apple/Indigo/trunk $ clang-mp-3.0 -march=corei7-avx -c ~/testl.c (17:55:56 Mon May 20 2013 jeremy@aerith x86_64) ~/src/apple/Indigo/trunk $ clang-mp-2.9 -march=corei7-avx -c ~/testl.c 'corei7-avx' is not a recognized processor for this target (ignoring processor) -- Ticket URL: <https://trac.macports.org/ticket/39157#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts