[libav-api] "Ran out of registers" error compiling darwin i386

Ibrahim Sha'ath ibrahimshaath at gmail.com
Tue Jul 10 19:57:36 CEST 2012


Hey all,

I found quite a long
thread<http://www.mail-archive.com/libav-user@ffmpeg.org/msg01014.html>from
January about this issue but it never really resolved as far as I
could see. I'm on a 64-bit Intel Mac running Lion 10.7.4, and attempting to
compile dual architecture binaries of libav for distribution with an app.

My configure line for the i386 "half" of the binary is as follows:

./configure --target-os=darwin --arch=i386 --cpu=i386 \
--extra-cflags='-arch i386 -isysroot /Developer/SDKs/MacOSX10.7.sdk
-DMACOSX_DEPLOYMENT_TARGET=10.5 -mmacosx-version-min=10.5' \
--extra-ldflags='-arch i386 -isysroot /Developer/SDKs/MacOSX10.7.sdk
-DMACOSX_DEPLOYMENT_TARGET=10.5 -mmacosx-version-min=10.5' \
--enable-cross-compile --enable-shared --disable-static --enable-gpl
--enable-version3 \
--disable-avconv --disable-avplay --disable-avprobe --disable-avserver \
--disable-swscale --disable-avresample --disable-avfilter
--disable-avdevice \
--disable-doc --disable-network --disable-protocols --enable-protocol=file \
--enable-memalign-hack --enable-runtime-cpudetect

That's for the latest off git.libav.org/libav.git; for the 0.8.3 release
it's very slightly different.

But for both 0.8.3 and the git head, I receive the following error during
compilation:

cc1: error in backend: Ran out of registers during register allocation!
make: *** [libavcodec/h264_cabac.o] Error 1

Has anyone got past this issue since January? Any help appreciated.

Best regards
Ibrahim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-api/attachments/20120710/21544fb2/attachment.html>


More information about the libav-api mailing list