[Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Nov 23 11:13:23 CET 2011
Simon Daniels <simondaniels23 at ...> writes:
> gcc -m32 -I. -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99
> -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement
> -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
> -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
> -O3 -fno-math-errno -mllvm -stack-alignment=16 -MMD -MF
> libavcodec/h264_cabac.d -MT libavcodec/h264_cabac.o -c -o
> libavcodec/h264_cabac.o libavcodec/h264_cabac.c
> cc1: error in backend: Ran out of registers during register allocation!
> make: *** [libavcodec/h264_cabac.o] Error 1
Afaict, this is a compiler error;-(
Could you add the output of gcc-v?
Does it make any difference if you use "./configure --cc='clang -m32'"?
If you just want to compile FFmpeg, I suggest you copy above command (from gcc
to cabac.c), paste it and remove -fomit-frame-pointer (or replace it with
-fno-omit-frame-pointer). The compilation of h264_cabac.o should succeed and you
can run "make" to compile the rest of the project.
Carl Eugen
More information about the Libav-user
mailing list