Hi, On Wed, Feb 29, 2012 at 4:50 PM, Diego Biurrun <[email protected]> wrote: > On Thu, Mar 01, 2012 at 01:42:45AM +0100, Diego Biurrun wrote: >> On Wed, Feb 29, 2012 at 01:13:07PM -0800, Ronald S. Bultje wrote: >> > On Tue, Feb 28, 2012 at 12:53 PM, Ronald S. Bultje <[email protected]> >> > wrote: >> > > From: "Ronald S. Bultje" <[email protected]> >> > > >> > > Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind >> > > CC: [email protected] >> > > --- >> > > libavcodec/cabac_functions.h | 6 ++++-- >> > > libavcodec/x86/cabac.h | 12 ++++++++---- >> > > 2 files changed, 12 insertions(+), 6 deletions(-) >> > >> > Fails to compile on OSX x86-32, anyone knows why? >> > >> > /Users/rbultje/Projects/libav/libavcodec/h264_cabac.c: In function >> > ‘decode_cabac_mb_intra4x4_pred_mode’: >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't >> > find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't >> > find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't >> > find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't >> > find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’ >> > operand has impossible constraints >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’ >> > operand has impossible constraints >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’ >> > operand has impossible constraints >> > /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’ >> > operand has impossible constraints >> >> http://www.libav.org/faq.html#error_003a-can_0027t-find-a-register-in-class-_0027GENERAL_005fREGS_0027-while-reloading-_0027asm_0027 > > SCNR > > Anyway, if this is known-broken Apple gcc 4.1 from the dawn of time, > then I guess you are pretty much out of luck...
CC libavcodec/h264_cabac.o fatal error: error in backend: Ran out of registers during register allocation! clang fails also. (Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)) Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
