Skip to content

Compile of dav1d 1.5.1 fails with nasm 3.0.0

As below

[2/5] Generating 'src/libdav1d.so.7.0.0.p/filmgrain16_avx512.obj'
FAILED: [code=1] src/libdav1d.so.7.0.0.p/filmgrain16_avx512.obj 
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/nasm -f elf64 -I /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/dav1d-1.5.1/src/ -I /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/dav1d-1.5.1/.x86_64-libreelec-linux-gnu/ -MQ src/libdav1d.so.7.0.0.p/filmgrain16_avx512.obj -MF src/libdav1d.so.7.0.0.p/filmgrain16_avx512.obj.ndep ../src/x86/filmgrain16_avx512.asm -o src/libdav1d.so.7.0.0.p/filmgrain16_avx512.obj
../src/x86/filmgrain16_avx512.asm:84: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:926: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:919: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx512.asm:420: ... from macro `..@2273.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx512.asm:926: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:921: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx512.asm:420: ... from macro `..@2273.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx512.asm:927: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:919: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx512.asm:420: ... from macro `..@5348.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx512.asm:927: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:921: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx512.asm:420: ... from macro `..@5348.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx512.asm:928: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:919: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx512.asm:420: ... from macro `..@8421.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx512.asm:928: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx512.asm:921: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx512.asm:420: ... from macro `..@8421.FGUV_32x32xN_LOOP' defined here
[3/5] Generating 'src/libdav1d.so.7.0.0.p/filmgrain16_avx2.obj'
FAILED: [code=1] src/libdav1d.so.7.0.0.p/filmgrain16_avx2.obj 
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/nasm -f elf64 -I /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/dav1d-1.5.1/src/ -I /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/dav1d-1.5.1/.x86_64-libreelec-linux-gnu/ -MQ src/libdav1d.so.7.0.0.p/filmgrain16_avx2.obj -MF src/libdav1d.so.7.0.0.p/filmgrain16_avx2.obj.ndep ../src/x86/filmgrain16_avx2.asm -o src/libdav1d.so.7.0.0.p/filmgrain16_avx2.obj
../src/x86/filmgrain16_avx2.asm:874: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2223: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2215: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx2.asm:1366: ... from macro `..@4546.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx2.asm:2223: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2217: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx2.asm:1366: ... from macro `..@4546.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx2.asm:2225: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2215: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx2.asm:1366: ... from macro `..@10016.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx2.asm:2225: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2217: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx2.asm:1366: ... from macro `..@10016.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx2.asm:2227: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2215: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx2.asm:1366: ... from macro `..@15564.FGUV_32x32xN_LOOP' defined here
../src/x86/filmgrain16_avx2.asm:2227: error: invalid combination of opcode and operands
../src/x86/filmgrain16_avx2.asm:2217: ... from macro `FGUV_FN' defined here
../src/x86/filmgrain16_avx2.asm:1366: ... from macro `..@15564.FGUV_32x32xN_LOOP' defined here
ninja: build stopped: subcommand failed.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information