Opened 13 years ago
Closed 13 years ago
#30613 closed defect (duplicate)
ffmpeg 0.7.1 fails to build on a Yonah (ie 32bit) XCode 4.0 machine
Reported by: | macports@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | ||
Port: | ffmpeg |
Description
Attempting to build ffmpeg-0.7.1 eventually results in an error :info:build fatal error: error in backend: Ran out of registers during register allocation! while trying to compile libavcodec/h264_cabac.c (Presumably this occurs when trying to compile the huge function at the bottom of that file.)
Possible fixes might be to attempt to compile that single file as -O2 rather than -O3, or to allow some of forced inline functions to not be inline.
Details are: This is a Yonah Macbook (MacBook1,1 Core Duo, NOT Core 2 Duo) Running OSX 10.6.8. Compiling using XCode 4.0. For obvious reasons, this machine will not be moving on to 10.7 and XCode 4.1.
I've attached the build log.
Attachments (1)
Change History (3)
Changed 13 years ago by macports@…
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to devans@… |
---|
Error is:
:info:build /Developer/usr/bin/clang -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.1" -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -pipe -O2 -DHAVE_LRINTF -I/opt/local/include -arch i386 -std=c99 -fomit-frame-pointer -fPIC -I/opt/local/include/dirac -I/opt/local/include/schroedinger-1.0 -I/opt/local/include/orc-0.4 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/SDL -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-math-errno -fno-signed-zeros -mllvm -stack-alignment=16 -Qunused-arguments -MMD -c -o libavcodec/h264_loopfilter.o libavcodec/h264_loopfilter.c :info:build fatal error: error in backend: Ran out of registers during register allocation! :info:build gmake: *** [libavcodec/h264_cabac.o] Error 1
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Log file from the failed build