ffmpeg on 10.5/PPC

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Apr 29 13:08:11 UTC 2018


On 2018-04-29, at 5:36 AM, Ken Cunningham wrote:


>> I notice this:
>> License: GPL version 2 or later
>> Creating configuration files ...
>> 
>> WARNING: GNU assembler not found, install/update gas-preprocessor
>> --->  Building ffmpeg
>> 
>> 
>> Is that true? what should I install? Perhaps in case it should be a dependency!


I do see that same assembler warning... presumable because we're using the Apple version of "as" rather than the gnu version of "gas"


License: nonfree and unredistributable
Creating configuration files ...

WARNING: GNU assembler not found, install/update gas-preprocessor
--->  Building ffmpeg





>> 
>> GCC6 later on spits out an ICE:
>> 
>> /opt/local/bin/gcc-mp-6 -I. -I./ -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -pipe -Os -DHAVE_LRINTF -I/opt/local/include -m32   -std=c11 -fomit-frame-pointer -fPIC -maltivec -mabi=altivec -pthread -I/opt/local/include/p11-kit-1 -I/opt/local/include/ossp -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libxml2 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/ossp -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/opus -I/opt/local/include/opus -D_REENTRANT -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16     -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 -Wno-unused-const-variable -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/af_afade.d -MT libavfilter/af_afade.o -c -o libavfilter/af_afade.o libavfilter/af_afade.c
>> libavfilter/af_afade.c: In function 'crossfade_samples_fltp':
>> libavfilter/af_afade.c:422:1: internal compiler error: Bus error
>> CROSSFADE_PLANAR(flt, float)
>> ^~~~~~~~~~~~~~~~
>> libbacktrace could not find executable to open


But my gcc6 build cruises right past the error you had:

/opt/local/bin/gcc-mp-6 -I. -I./ -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -pipe -Os -DHAVE_LRINTF -I/opt/local/include -m32   -std=c11 -fomit-frame-pointer -fPIC -maltivec -mabi=altivec -pthread -I/opt/local/include/p11-kit-1 -I/opt/local/include/ossp -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include/libxml2 -I/opt/local/include/ossp -I/opt/local/include/freetype2  -I/opt/local/include/ossp -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/opus -I/opt/local/include/opus -D_REENTRANT -I/opt/local/include/librsvg-2.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/ossp -I/opt/local/include/freetype2 -I/opt/local/include/libpng16      -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 -Wno-unused-const-variable -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized  -MMD -MF libavfilter/af_afade.d -MT libavfilter/af_afade.o -c -o libavfilter/af_afade.o libavfilter/af_afade.c


It's going to go on for some tim more, looks happy enough to finish in the end... so what's up with your compiler, I wonder?...


Ken



More information about the macports-users mailing list