Opened 11 years ago

Last modified 11 years ago

#38141 closed defect

ffmpeg compilation: "run out of registers" on 10.6.8 — at Version 1

Reported by: aszoz@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: devans@…
Port: ffmpeg

Description (last modified by larryv (Lawrence Velázquez))

While trying to compile ffmpeg I got this error on x86_64 (I was just upgrading ports): Please let me know if more info will can be helpful.

:info:build /usr/bin/clang -I. -I./ -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -O2 -DHAVE_LRINTF -I/opt/local/include -arch i386   -std=c99 -fomit-frame-pointer -fPIC -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/opus -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 -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -mllvm -stack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes  -MMD -c -o libavcodec/h264_cabac.o libavcodec/h264_cabac.c
:info:build fatal error: error in backend: Ran out of registers during register allocation!

Change History (1)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: devans@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: ffmpeg added

Thanks for the ticket. In the future, please Cc relevant port maintainers.

This looks similar to #37802, but that particular problem only showed up when compiling for i386. Please run the following; if it still fails, attach the entire main.log, which will be mentioned in the failure message.

sudo port clean ffmpeg && sudo port install ffmpeg
Note: See TracTickets for help on using tickets.