Here is a patch for the ABI v2:
--- libav-9.10.orig/libavcodec/ppc/asm.S
+++ libav-9.10/libavcodec/ppc/asm.S
@@ -36,12 +36,20 @@
.macro extfunc name
.global X(\name)
+#if _CALL_ELF == 2
+ .text
+X(\name):
+ addis %r2,%r12,.TOC.-X(\name)@ha
+ addi %r2,%r2,.TOC.-X(\name)@l
+ .localentry (\name),-X(\name)
+#else
.section .opd, "aw"
X(\name):
.quad L(\name), .TOC.@tocbase, 0
.previous
.type X(\name), STT_FUNC
L(\name):
+#endif
.endm
.macro movrel rd, sym, gp
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libav in Ubuntu.
https://bugs.launchpad.net/bugs/1263802
Title:
FTBFS with altivec on ppc64el
Status in “libav” package in Ubuntu:
New
Bug description:
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibswscale -Wl,-z,relro -Wl,--as-needed -Wl,--warn-common
-Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-o avconv avconv_opt.o avconv_filter.o avconv.o cmdutils.o -lavdevice
-lavfilter -lavformat -lavresample -lavcodec -lswscale -lavutil -ldl -lXfixes
-lXext -lX11 -lcdio_paranoia -lcdio_cdda -lcdio -ljack -lasound -ldc1394
-lraw1394 -lgcrypt -lxvidcore -lvpx -lvpx -lvorbisenc -lvorbis -logg
-ltheoraenc -ltheoradec -logg -lspeex -lschroedinger-1.0 -lrtmp -lz -lgnutls
-lpulse-simple -lpulse -lopus -lopenjpeg -lmp3lame -lgsm -lgnutls -lva -lm
-pthread -lbz2 -lz
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibswscale -Wl,-z,relro -Wl,--as-needed -Wl,--warn-common
-Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-o avplay avplay.o cmdutils.o -lavdevice -lavfilter -lavformat -lavresample
-lavcodec -lswscale -lavutil -ldl -lXfixes -lXext -lX11 -lcdio_paranoia
-lcdio_cdda -lcdio -ljack -lasound -ldc1394 -lraw1394 -lgcrypt -lxvidcore -lvpx
-lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lspeex
-lschroedinger-1.0 -lrtmp -lz -lgnutls -lpulse-simple -lpulse -lopus -lopenjpeg
-lmp3lame -lgsm -lgnutls -lva -lm -pthread -lbz2 -lz -lSDL
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibswscale -Wl,-z,relro -Wl,--as-needed -Wl,--warn-common
-Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-o avprobe avprobe.o cmdutils.o -lavdevice -lavfilter -lavformat
-lavresample -lavcodec -lswscale -lavutil -ldl -lXfixes -lXext -lX11
-lcdio_paranoia -lcdio_cdda -lcdio -ljack -lasound -ldc1394 -lraw1394 -lgcrypt
-lxvidcore -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg
-lspeex -lschroedinger-1.0 -lrtmp -lz -lgnutls -lpulse-simple -lpulse -lopus
-lopenjpeg -lmp3lame -lgsm -lgnutls -lva -lm -pthread -lbz2 -lz
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibswscale -Wl,-z,relro -Wl,--as-needed -Wl,--warn-common
-Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-Wl,-E -o avserver avserver.o cmdutils.o -lavdevice -lavfilter -lavformat
-lavresample -lavcodec -lswscale -lavutil -ldl -lXfixes -lXext -lX11
-lcdio_paranoia -lcdio_cdda -lcdio -ljack -lasound -ldc1394 -lraw1394 -lgcrypt
-lxvidcore -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg
-lspeex -lschroedinger-1.0 -lrtmp -lz -lgnutls -lpulse-simple -lpulse -lopus
-lopenjpeg -lmp3lame -lgsm -lgnutls -lva -lm -pthread -lbz2 -lz
/usr/bin/ld: libavcodec/libavcodec.a(fft_altivec_s.o): ABI version 1 is not
compatible with ABI version 2 output
/usr/bin/ld: failed to merge target specific data of file
libavcodec/libavcodec.a(fft_altivec_s.o)
collect2: error: ld returned 1 exit status
make[1]: *** [avserver] Error 1
Porting required?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libav/+bug/1263802/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp