Hi James,

On 30.01.2015 15:46, James Cowgill wrote:
ffmpeg FTBFS on mips64el with the configure error:
[...]
ERROR: LoadLibrary/dlopen not found for avisynth

The configure log shows that it's trying to use '-march=mips32r2' with
everything, which will clearly not work on mips64.

Thanks for reporting this problem.

The easy fix for
debian is to disable mips32r2 on mips64 (which needs to be done anyway).
I think upstream should also be told about this though, so the default
options will still build for non-debian users.

Yes, it would be best, if this could be fixed upstream, e.g. with:
--- a/configure
+++ b/configure
@@ -3977,6 +3977,13 @@ esac
 enable $subarch
 enabled spic && enable_weak pic

+if enabled mips64; then
+    disable mips32r2
+    disable mipsdspr1
+    disable mipsdspr2
+    disable mipsfpu
+fi
+
 # OS specific
 case $target_os in
     aix)

However, I wonder if mipsdspr1, mipsdspr2 and mipsfpu really have to be disabled on mips64.
Can you test, if it works with only disabling mips32r2?

Best regards,
Andreas


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to