Opened 10 years ago
Closed 10 years ago
#45214 closed defect (worksforme)
ffmpeg 2.4.1 "error: instruction requires: Not 64-bit mode"
Reported by: | peter@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | ffmpeg |
Description
I'm getting a failure to build ffmpeg 2.4.1 (specifically, upgrading from ffmpeg@2.3.3_1+gpl2+gpl3+nonfree+x11.) on Mavericks (10.9.5) with xcode 6.0.
The error is during the build of ilpack.c in lavfilter:
sr/bin/clang -I. -I./ -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I./compat/float -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -pipe -Os -DHAVE_LRINTF -I/opt/local/include -arch x86_64 -std=c99 -fomit-frame-pointer -fPIC -pthread -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/freetype2 -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/opus -I/opt/local/include/schroedinger-1.0 -I/opt/local/include/orc-0.4 -I/opt/local/include -I/opt/local/include -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include/SDL -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -MMD -MF libavfilter/vf_deshake.d -MT libavfilter/vf_deshake.o -c -o libavfilter/vf_deshake.o libavfilter/vf_deshake.c libavfilter/libmpcodecs/vf_ilpack.c:117:23: error: instruction requires: Not 64-bit mode __asm__ volatile ("" ^ <inline asm>:1:2: note: instantiated into assembly here push %ebp ^ libavfilter/libmpcodecs/vf_ilpack.c:208:17: error: instruction requires: Not 64-bit mode "emms \n\t" ^ <inline asm>:80:2: note: instantiated into assembly here pop %ebp ^
Attachments (1)
Change History (5)
Changed 10 years ago by peter@…
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jeremyhu@… added |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | ffmpeg added |
comment:2 Changed 10 years ago by dbevans (David B. Evans)
Status: | new → assigned |
---|
comment:3 Changed 10 years ago by peter@…
Apologies, I think this was caused by using a different /bin/sh and /bin/bash, I tried using the macports /bin/sh and /bin/bash and after a port clean ffmpeg everything rebuilt fine (ffmpeg@2.4.1_0+gpl2+gpl3+nonfree+x11)
comment:4 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
ffmpeg @2.4.1_0+gpl2+gpl3+nonfree+x11 also works for me on Mavericks as does ffmpeg-devel @20140925_0+gpl2+gpl3+nonfree+x11.
Thanks for your update.
Note: See
TracTickets for help on using
tickets.
port log ffmpeg