Bug#802550: x264: FTBFS on mipsel: Error: opcode not supported on this processor: mips2 (mips2) `addvi.b $w0, $w1, 1'

Sebastian Ramacher sramacher at debian.org
Tue Oct 20 22:56:40 UTC 2015


Package: x264
Version: 2:0.148.2601+gita0cd7d3-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

x264 failed to build on mipsel:
| # Build static lib
| LDFLAGS="-Wl,-z,relro" ./configure --prefix=/usr --libdir=/usr/lib/mipsel-linux-gnu --extra-cflags=-fno-aggressive-loop-optimizations --enable-static --disable-cli \
|    || ( tail -v -n +0 config.log config.log ; exit 1 )
| You specified a pre-MSA CPU in your CFLAGS.
| If you really want to run on such a CPU, configure with --disable-asm.
| ==> config.log <==
| x264 configure script
| Command line options: "--prefix=/usr" "--libdir=/usr/lib/mipsel-linux-gnu" "--extra-cflags=-fno-aggressive-loop-optimizations" "--enable-static" "--disable-cli"
|
| checking whether gcc works... yes
| checking whether gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
| checking for -mmsa -mfp64 -mhard-float... no
| Failed commandline was:
| --------------------------------------------------
| gcc conftest.c   -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I$(SRCPATH) -fno-aggressive-loop-optimizations -std=gnu99  -mmsa -mfp64 -mhard-float  -Wl,-z,relro -lm -o conftest
| gcc: error: unrecognized command line option '-mmsa'
| --------------------------------------------------
| Failed program was:
| --------------------------------------------------
| int main (void) {  return 0; }
| --------------------------------------------------
| checking whether gcc supports __asm__("addvi.b $w0, $w1, 1");... no
| Failed commandline was:
| --------------------------------------------------
| gcc conftest.c   -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I$(SRCPATH) -fno-aggressive-loop-optimizations -std=gnu99    -Wl,-z,relro -lm -o conftest
| /tmp/ccT8Idl1.s: Assembler messages:
| /tmp/ccT8Idl1.s:24: Error: opcode not supported on this processor: mips2 (mips2) `addvi.b $w0,$w1,1'
| --------------------------------------------------
| Failed program was:
| --------------------------------------------------
| int main (void) { __asm__("addvi.b $w0, $w1, 1"); return 0; }
| --------------------------------------------------
|
| ==> config.log <==
| x264 configure script
| Command line options: "--prefix=/usr" "--libdir=/usr/lib/mipsel-linux-gnu" "--extra-cflags=-fno-aggressive-loop-optimizations" "--enable-static" "--disable-cli"
|
| checking whether gcc works... yes
| checking whether gcc supports for( int i = 0; i < 9; i++ ); with -std=gnu99... yes
| checking for -mmsa -mfp64 -mhard-float... no
| Failed commandline was:
| --------------------------------------------------
| gcc conftest.c   -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I$(SRCPATH) -fno-aggressive-loop-optimizations -std=gnu99  -mmsa -mfp64 -mhard-float  -Wl,-z,relro -lm -o conftest
| gcc: error: unrecognized command line option '-mmsa'
| --------------------------------------------------
| Failed program was:
| --------------------------------------------------
| int main (void) {  return 0; }
| --------------------------------------------------
| checking whether gcc supports __asm__("addvi.b $w0, $w1, 1");... no
| Failed commandline was:
| --------------------------------------------------
| gcc conftest.c   -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I$(SRCPATH) -fno-aggressive-loop-optimizations -std=gnu99    -Wl,-z,relro -lm -o conftest
| /tmp/ccT8Idl1.s: Assembler messages:
| /tmp/ccT8Idl1.s:24: Error: opcode not supported on this processor: mips2 (mips2) `addvi.b $w0,$w1,1'
| --------------------------------------------------
| Failed program was:
| --------------------------------------------------
| int main (void) { __asm__("addvi.b $w0, $w1, 1"); return 0; }
| --------------------------------------------------
| debian/rules:26: recipe for target 'override_dh_auto_build' failed
| make[1]: *** [override_dh_auto_build] Error 1
| make[1]: Leaving directory '/«BUILDDIR»/x264-0.148.2601+gita0cd7d3'
| debian/rules:16: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
| ────────────────────────────────────────────────────────────────────────────────
| Build finished at 20151016-0152

Full build log is available at
https://buildd.debian.org/status/fetch.php?pkg=x264&arch=mipsel&ver=2:0.148.2601+gita0cd7d3-1&stamp=1444960382

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20151021/9fe79777/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list