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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1263802

Title:
  FTBFS with altivec on ppc64el

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libav/+bug/1263802/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to