build error x264 on OS X 10.9.1

"René J.V. Bertin" rjvbertin at gmail.com
Sat Mar 1 06:48:57 PST 2014


I'm getting a build error installing the +asm+universal x264 variant (x264 at 20130823+asm+universal) on OS X 10.9.1:

:info:build /usr/bin/clang -Wshadow -O3 -ffast-math -m32 -I. -fno-common -read_only_relocs suppress -arch i386 -Wall -I. -I. -falign-loops=16 -march=i686 -mfpmath=sse -msse -std=gnu99 -mpreferred-stack-boundary=5 -fPIC -fomit-frame-pointer -fno-tree-vectorize   -c -o encoder/me.o encoder/me.c
:info:build clang: warning: argument unused during compilation: '-read_only_relocs suppress'
:info:build clang: warning: argument unused during compilation: '-falign-loops=16'
:info:build clang: warning: argument unused during compilation: '-mfpmath=sse'
:info:build clang: warning: argument unused during compilation: '-mpreferred-stack-boundary=5'
:info:build In file included from encoder/me.c:28:
:info:build In file included from ./common/common.h:987:
:info:build ./common/x86/util.h:131:9: error: ran out of registers during register allocation
:info:build         "movq       (%2), %%mm5 \n"
:info:build         ^
:info:build ./common/x86/util.h:194:9: error: ran out of registers during register allocation
:info:build         "movq       (%2), %%mm5 \n"
:info:build         ^
:info:build 2 errors generated.


with /usr/bin/clang being
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Building with configure.compiler=macports-gcc-4.7 succeeds fine.

Is this a bug I should report? (Or should I make an "official" suggestion to use gcc everywhere where Apple-specific options aren't required as long as clang isn't completely ready to be the main compiler on linux? ;) )



More information about the macports-users mailing list