[libav-bugs] [Bug 609] New: "Ran out of registers during register allocation!" while compiling libavcodec/h264_cabac.c

bugzilla at libav.org bugzilla at libav.org
Tue Dec 17 21:21:17 CET 2013


https://bugzilla.libav.org/show_bug.cgi?id=609

           Summary: "Ran out of registers during register allocation!"
                    while compiling libavcodec/h264_cabac.c
           Product: Libav
           Version: 9
          Platform: X86
        OS/Version: Mac OS
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: dank at kegel.com


Building the libav 9.10 bundled with
http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.2.1.tar.xz 
for 32 bits on macosx, with
$ xcodebuild -version
Xcode 4.6.3
Build version 4H1503
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.11.00)

the build fails with

+ gcc -m32 -std=gnu99 -I.
-I/Users/dank/src/yobuild-builder/unified/btmp/gst-libav-1.2.1/gst-libs/ext/libav
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC
-DHAVE_AV_CONFIG_H -mmacosx-version-min=10.7 -O3 -g -m32 -isystem
/opt/oblong/deps/include -std=c99 -fomit-frame-pointer -fPIC -g
-Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch
-Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith
-Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef
-Wmissing-prototypes -Wstrict-prototypes -fno-math-errno -mllvm
-stack-alignment=16 -MMD -MF libavcodec/h264_cabac.d -MT
libavcodec/h264_cabac.o -c -o libavcodec/h264_cabac.o
/Users/dank/src/yobuild-builder/unified/btmp/gst-libav-1.2.1/gst-libs/ext/libav/libavcodec/h264_cabac.c

cc1: error in backend: Ran out of registers during register allocation!

Using -O1 instead of -O2 or -O3 avoids that particular error, but I'm not sure
yet whether that's a great idea, or whether the problem also pops up elsewhere.

This is very similar to 
https://trac.ffmpeg.org/ticket/2659

Marking minor because, hey, who builds 32 bit macosx stuff, and a workaround
might be easy.
(I'm only doing it because I think a couple of our apps are locked to 32
bits by reliance on QuickTime apis or Awesomium.)

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list