ffmpeg on 10.5/PPC

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Apr 29 12:36:02 UTC 2018


clang-3.4 will never work on PPC, so don't even bother.

I have many ffmpeg versions built on 10.5 PPC, including what I think is the current one.  I have not seen that assembler error before, but I can try building ffmpeg again later this morning and see what happens.

FYI I also have gimp2 built and running, but I haven't fixed up the Portfile for general use yet so don't even try to get that going until I update it. 


Ken

$ port -v installed ffmpeg
The following ports are currently installed:
  ffmpeg @3.3.3_0+gpl2 platform='darwin 9' archs='ppc' date='2017-08-15T09:22:16-0700'
  ffmpeg @3.3.3_1+gpl2 platform='darwin 9' archs='ppc' date='2017-09-06T09:12:57-0700'
  ffmpeg @3.3.4_0+gpl2 platform='darwin 9' archs='ppc' date='2017-09-20T15:25:00-0700'
  ffmpeg @3.3.4_1+gpl2 platform='darwin 9' archs='ppc' date='2017-10-12T23:20:03-0700'
  ffmpeg @3.4_0+gpl2 platform='darwin 9' archs='ppc' date='2017-10-19T17:56:50-0700'
  ffmpeg @3.4_0+gpl2+gpl3+nonfree platform='darwin 9' archs='ppc' date='2017-10-20T18:46:03-0700'
  ffmpeg @3.4.1_1+gpl2+gpl3+nonfree platform='darwin 9' archs='ppc' date='2017-12-15T18:38:53-0800'
  ffmpeg @3.4.1_3+gpl2+gpl3+nonfree platform='darwin 9' archs='ppc' date='2018-01-22T23:05:10-0800'
  ffmpeg @3.4.1_4+gpl2+gpl3+nonfree platform='darwin 9' archs='ppc' date='2018-02-13T15:54:57-0800'
  ffmpeg @3.4.2_0+gpl2+gpl3+nonfree (active) platform='darwin 9' archs='ppc' date='2018-04-12T00:23:48-0700'




On 2018-04-29, at 12:44 AM, Riccardo via macports-users wrote:

> Hi,
> 
> I am trying to build ffmpeg on Leopard/PPC and it repeatedly fails
> (again as a dependency actually of gimp)
> 
> I am compiling with gcc-mp-6 and configure picks it up correctly
> 
> 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!
> 
> 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
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://trac.macports.org/newticket> for instructions.
> {standard input}:734:non-relocatable subtraction expression, "lC13" minus "L4$pb"
> {standard input}:734:symbol: "lC13" can't be undefined in a subtraction expression
> {standard input}:732:non-relocatable subtraction expression, "lC13" minus "L4$pb"
> {standard input}:732:symbol: "lC13" can't be undefined in a subtraction expression
> {standard input}:611:non-relocatable subtraction expression, "lC13" minus "L3$pb"
> {standard input}:611:symbol: "lC13" can't be undefined in a subtraction expression
> {standard input}:607:non-relocatable subtraction expression, "lC13" minus "L3$pb"
> {standard input}:607:symbol: "lC13" can't be undefined in a subtraction expression
> {standard input}:555:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:555:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:554:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:554:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:544:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:544:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:543:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:543:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:535:non-relocatable subtraction expression, "lC9" minus "L2$pb"
> {standard input}:535:symbol: "lC9" can't be undefined in a subtraction expression
> {standard input}:534:non-relocatable subtraction expression, "lC9" minus "L2$pb"
> {standard input}:534:symbol: "lC9" can't be undefined in a subtraction expression
> {standard input}:530:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:530:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:528:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:528:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:520:non-relocatable subtraction expression, "lC7" minus "L2$pb"
> {standard input}:520:symbol: "lC7" can't be undefined in a subtraction expression
> {standard input}:519:non-relocatable subtraction expression, "lC7" minus "L2$pb"
> {standard input}:519:symbol: "lC7" can't be undefined in a subtraction expression
> {standard input}:500:non-relocatable subtraction expression, "lC10" minus "L2$pb"
> {standard input}:500:symbol: "lC10" can't be undefined in a subtraction expression
> {standard input}:495:non-relocatable subtraction expression, "lC10" minus "L2$pb"
> {standard input}:495:symbol: "lC10" can't be undefined in a subtraction expression
> {standard input}:494:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:494:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:489:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:489:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:478:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:478:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:477:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:477:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:421:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:421:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:420:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:420:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:412:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:412:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:410:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:410:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:409:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:409:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:408:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:408:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:404:non-relocatable subtraction expression, "lC4" minus "L2$pb"
> {standard input}:404:symbol: "lC4" can't be undefined in a subtraction expression
> {standard input}:403:non-relocatable subtraction expression, "lC4" minus "L2$pb"
> {standard input}:403:symbol: "lC4" can't be undefined in a subtraction expression
> {standard input}:391:non-relocatable subtraction expression, "lC8" minus "L2$pb"
> {standard input}:391:symbol: "lC8" can't be undefined in a subtraction expression
> {standard input}:387:non-relocatable subtraction expression, "lC8" minus "L2$pb"
> {standard input}:387:symbol: "lC8" can't be undefined in a subtraction expression
> {standard input}:386:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:386:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:384:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:384:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:367:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:367:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:362:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:362:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:361:non-relocatable subtraction expression, "lC4" minus "L2$pb"
> {standard input}:361:symbol: "lC4" can't be undefined in a subtraction expression
> {standard input}:356:non-relocatable subtraction expression, "lC4" minus "L2$pb"
> {standard input}:356:symbol: "lC4" can't be undefined in a subtraction expression
> {standard input}:344:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:344:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:343:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:343:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:339:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:339:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:338:non-relocatable subtraction expression, "lC6" minus "L2$pb"
> {standard input}:338:symbol: "lC6" can't be undefined in a subtraction expression
> {standard input}:293:non-relocatable subtraction expression, "lC1" minus "L2$pb"
> {standard input}:293:symbol: "lC1" can't be undefined in a subtraction expression
> {standard input}:287:non-relocatable subtraction expression, "lC11" minus "L2$pb"
> {standard input}:287:symbol: "lC11" can't be undefined in a subtraction expression
> {standard input}:286:non-relocatable subtraction expression, "lC11" minus "L2$pb"
> {standard input}:286:symbol: "lC11" can't be undefined in a subtraction expression
> {standard input}:285:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:285:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:284:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:284:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:242:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:242:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:241:non-relocatable subtraction expression, "lC3" minus "L2$pb"
> {standard input}:241:symbol: "lC3" can't be undefined in a subtraction expression
> {standard input}:228:non-relocatable subtraction expression, "lC1" minus "L2$pb"
> {standard input}:228:symbol: "lC1" can't be undefined in a subtraction expression
> {standard input}:227:non-relocatable subtraction expression, "lC1" minus "L2$pb"
> {standard input}:227:symbol: "lC1" can't be undefined in a subtraction expression
> {standard input}:183:non-relocatable subtraction expression, "_fade_samples_fltp" minus "L1$pb"
> {standard input}:183:symbol: "_fade_samples_fltp" can't be undefined in a subtraction expression
> {standard input}:182:non-relocatable subtraction expression, "_fade_samples_fltp" minus "L1$pb"
> {standard input}:182:symbol: "_fade_samples_fltp" can't be undefined in a subtraction expression
> {standard input}:177:non-relocatable subtraction expression, "_fade_samples_s32p" minus "L1$pb"
> {standard input}:177:symbol: "_fade_samples_s32p" can't be undefined in a subtraction expression
> {standard input}:176:non-relocatable subtraction expression, "_fade_samples_s32p" minus "L1$pb"
> {standard input}:176:symbol: "_fade_samples_s32p" can't be undefined in a subtraction expression
> {standard input}:171:non-relocatable subtraction expression, "_fade_samples_dbl" minus "L1$pb"
> {standard input}:171:symbol: "_fade_samples_dbl" can't be undefined in a subtraction expression
> {standard input}:170:non-relocatable subtraction expression, "_fade_samples_dbl" minus "L1$pb"
> {standard input}:170:symbol: "_fade_samples_dbl" can't be undefined in a subtraction expression
> {standard input}:165:non-relocatable subtraction expression, "_fade_samples_flt" minus "L1$pb"
> {standard input}:165:symbol: "_fade_samples_flt" can't be undefined in a subtraction expression
> {standard input}:164:non-relocatable subtraction expression, "_fade_samples_flt" minus "L1$pb"
> {standard input}:164:symbol: "_fade_samples_flt" can't be undefined in a subtraction expression
> {standard input}:159:non-relocatable subtraction expression, "_fade_samples_s32" minus "L1$pb"
> {standard input}:159:symbol: "_fade_samples_s32" can't be undefined in a subtraction expression
> {standard input}:158:non-relocatable subtraction expression, "_fade_samples_s32" minus "L1$pb"
> {standard input}:158:symbol: "_fade_samples_s32" can't be undefined in a subtraction expression
> {standard input}:153:non-relocatable subtraction expression, "_fade_samples_s16" minus "L1$pb"
> {standard input}:153:symbol: "_fade_samples_s16" can't be undefined in a subtraction expression
> {standard input}:152:non-relocatable subtraction expression, "_fade_samples_s16" minus "L1$pb"
> {standard input}:152:symbol: "_fade_samples_s16" can't be undefined in a subtraction expression
> {standard input}:147:non-relocatable subtraction expression, "_fade_samples_dblp" minus "L1$pb"
> {standard input}:147:symbol: "_fade_samples_dblp" can't be undefined in a subtraction expression
> {standard input}:146:non-relocatable subtraction expression, "_fade_samples_dblp" minus "L1$pb"
> {standard input}:146:symbol: "_fade_samples_dblp" can't be undefined in a subtraction expression
> {standard input}:100:non-relocatable subtraction expression, "_fade_samples_s16p" minus "L1$pb"
> {standard input}:100:symbol: "_fade_samples_s16p" can't be undefined in a subtraction expression
> {standard input}:99:non-relocatable subtraction expression, "_fade_samples_s16p" minus "L1$pb"
> {standard input}:99:symbol: "_fade_samples_s16p" can't be undefined in a subtraction expression
> gmake: *** [ffbuild/common.mak:60: libavfilter/af_afade.o] Error 1
> gmake: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-3.4.2'
> 
> 
> I tried twice, the ICE persists.
> 
> I'm going to try out clang 3.4 right now.
> 
> Riccardo
> 



More information about the macports-users mailing list