Source: ffmpeg Version: 7:2.5.3-1 Severity: important Tags: patch Hi,
ffmpeg FTBFS on mips64el with the configure error: ./configure --prefix=/usr --extra-version="1" --build-suffix="-ffmpeg" --toolchain=hardened --extra-cflags="" --extra-cxxflags="" --libdir=/usr/lib/mips64el-linux-gnuabi64 --shlibdir=/usr/lib/mips64el-linux-gnuabi64 --incdir=/usr/include/mips64el-linux-gnuabi64 --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal --enable-libopencv --enable-librtmp --enable-libx265 || (cat config.log && exit 1) 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. 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. Full log: http://mipsdebian.imgtec.com/debian/logs/f/ffmpeg/ffmpeg_2.5.3-1_mips64el-20150130-0106.build.gz Thanks, James
diff -u -r a/debian/rules b/debian/rules --- a/debian/rules 2015-01-10 10:37:18.000000000 +0000 +++ b/debian/rules 2015-01-30 10:37:14.591342905 +0000 @@ -171,7 +171,7 @@ # Disable optimizations on mips(el), because they are not always available on these architecture. -ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel)) +ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel mips64 mips64el)) CONFIG += --disable-mips32r2 \ --disable-mipsdspr1 \ --disable-mipsdspr2 \