Building 32bit version of handbrake for Windows failing

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
rboy
Posts: 35
Joined: Sun Jul 09, 2017 12:11 am

Building 32bit version of handbrake for Windows failing

Post by rboy » Tue Oct 16, 2018 6:46 pm

Description of problem or question:

Cannot build 32bit version of Handbrake nightly build


Steps to reproduce the problem (If Applicable):

Follow build instructions for Windows


HandBrake version (e.g., 1.0.0):

Nightly build


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Ubuntu 18.04


This is a follow from the conversation here where there a was a fix provided to enable manual builds of 32bit version of Handbrake for windows.
viewtopic.php?f=12&t=36626&start=25#p172636

@BradleyS I've rebuilt the build machine using the latest instructions and also rebuilt the mingw i686 just like before however the 32bit builds are failing (64bit are building fine). I think it's failing while trying to build x265 from the logs below. Any suggestions on what I can do and I'm looking at the right issue?

Code: Select all

  : [ 29%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.obj
  : nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/quant-a-8.o common/x86/quant-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
  : nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/sad-a-8.o common/x86/sad-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
  : make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
  : [ 29%] Built target encoder
  : make[2]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
  : Makefile:129: recipe for target 'all' failed
  : make[1]: *** [all] Error 2
  : make[1]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
  : ../contrib/x265_12bit/module.rules:2: recipe for target 'contrib/x265/.stamp.x265_12.build' failed
  : make: *** [contrib/x265/.stamp.x265_12.build] Error 2
This is where the error appears to start in the build.log file, after 10bit as it moves to 12bit if I'm reading this correctly

Code: Select all

[ 36%] Building CXX object encoder/CMakeFiles/encoder.dir/reference.cpp.obj
[ 37%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.obj
    [CC] vp9/encoder/vp9_segmentation.c.o
    [CC] vp9/encoder/vp9_speed_features.c.o
    [CC] vp9/encoder/vp9_subexp.c.o
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/ratecontrol.c -o encoder/ratecontrol-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
    [CC] vp9/encoder/vp9_svc_layercontext.c.o
    [CC] vp9/encoder/vp9_resize.c.o
    [CC] vp9/encoder/vp9_tokenize.c.o
    [CC] vp9/encoder/vp9_treewriter.c.o
    [CC] vp9/encoder/vp9_aq_variance.c.o
    [CC] vp9/encoder/vp9_aq_360.c.o
    [CC] vp9/encoder/vp9_aq_cyclicrefresh.c.o
    [CC] vp9/encoder/vp9_aq_complexity.c.o
    [CC] vp9/encoder/vp9_alt_ref_aq.c.o
    [CC] vp9/encoder/vp9_skin_detection.c.o
    [CC] vp9/encoder/vp9_noise_estimate.c.o
    [CC] vp9/encoder/vp9_temporal_filter.c.o
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/set.c -o encoder/set-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
[ 39%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/intrapred16.asm.obj
    [CC] vp9/encoder/vp9_mbgraph.c.o
    [CC] vp9/encoder/x86/temporal_filter_sse4.c.o
    [CC] vp9/encoder/x86/vp9_quantize_sse2.c.o
    [CC] vp9/encoder/x86/vp9_diamond_search_sad_avx.c.o
    [CC] vp9/encoder/x86/vp9_dct_intrin_sse2.c.o
[ 40%] Building CXX object encoder/CMakeFiles/encoder.dir/api.cpp.obj
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:18657: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:18667: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:18677: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:18686: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:18687: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here

... same errors across various files ...

/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:11177: ... from macro `TRANSPOSE_STORE_AVX2' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1630: ... from macro `vextracti128' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:20578: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:11179: ... from macro `TRANSPOSE_STORE_AVX2' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1630: ... from macro `vextracti128' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:20578: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:11188: ... from macro `TRANSPOSE_STORE_AVX2' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:20578: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:11189: ... from macro `TRANSPOSE_STORE_AVX2' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:20578: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:11190: ... from macro `TRANSPOSE_STORE_AVX2' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:20578: error: comma, colon, decorator or end of line expected after operand
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/intrapred16.asm:11191: ... from macro `TRANSPOSE_STORE_AVX2' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1320: ... from macro `movdqu' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1634: ... from macro `vmovdqu' defined here
    [CC] vp9/encoder/x86/vp9_dct_ssse3.c.o
    [CC] vp9/encoder/x86/vp9_frame_scale_ssse3.c.o
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/macroblock.c -o encoder/macroblock-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
common/CMakeFiles/common.dir/build.make:254: recipe for target 'common/CMakeFiles/common.dir/x86/intrapred16.asm.obj' failed
make[3]: *** [common/CMakeFiles/common.dir/x86/intrapred16.asm.obj] Error 1
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/10bit'
CMakeFiles/Makefile2:242: recipe for target 'common/CMakeFiles/common.dir/all' failed
make[2]: *** [common/CMakeFiles/common.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 41%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.obj
    [CC] vp9/encoder/x86/vp9_error_avx2.c.o
    [CC] vpx_config.c.o
/usr/bin/make -C ./contrib/x265/x265_2.8/12bit clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[2]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[2]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[1]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
/bin/rm -f ./contrib/x265/.stamp.x265_12.build
/usr/bin/make -C ./contrib/x265/x265_2.8/12bit
make[1]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[2]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
    [AS] vpx_ports/emms.asm.o
Scanning dependencies of target encoder
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
    [AS] vpx_dsp/x86/intrapred_sse2.asm.o
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
[  1%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.obj
    [AS] vpx_dsp/x86/intrapred_ssse3.asm.o
    [AS] vpx_dsp/x86/add_noise_sse2.asm.o
    [AS] vpx_dsp/x86/deblock_sse2.asm.o
    [AS] vpx_dsp/x86/vpx_subpixel_8t_sse2.asm.o
    [AS] vpx_dsp/x86/vpx_subpixel_bilinear_sse2.asm.o
    [AS] vpx_dsp/x86/vpx_subpixel_8t_ssse3.asm.o
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/10bit'
[ 41%] Built target encoder
make[2]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/10bit'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/10bit'
../contrib/x265_10bit/module.rules:2: recipe for target 'contrib/x265/.stamp.x265_10.build' failed
make: *** [contrib/x265/.stamp.x265_10.build] Error 2
make: *** Waiting for unfinished jobs....
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
Scanning dependencies of target common
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
make[3]: Entering directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
[  2%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixel-a.asm.obj
    [AS] vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm.o
    [AS] vpx_dsp/x86/vpx_convolve_copy_sse2.asm.o
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/cabac.c -o encoder/cabac-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
    [AS] vpx_dsp/x86/inv_wht_sse2.asm.o
    [AS] vpx_dsp/x86/sad_sse3.asm.o
    [AS] vpx_dsp/x86/sad_ssse3.asm.o
    [AS] vpx_dsp/x86/sad_sse4.asm.o
    [AS] vpx_dsp/x86/sad4d_sse2.asm.o
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/cavlc.c -o encoder/cavlc-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
[  4%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.obj
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/encoder.c -o encoder/encoder-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
    [AS] vpx_dsp/x86/sad_sse2.asm.o
    [AS] vpx_dsp/x86/subtract_sse2.asm.o
    [AS] vpx_dsp/x86/subpel_variance_sse2.asm.o
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c encoder/lookahead.c -o encoder/lookahead-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
[  5%] Building CXX object encoder/CMakeFiles/encoder.dir/bitcost.cpp.obj
[  6%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/const-a.asm.obj
[  8%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/cpu-a.asm.obj
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c common/threadpool.c -o common/threadpool-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
[  9%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/ssd-a.asm.obj
[ 10%] Building CXX object encoder/CMakeFiles/encoder.dir/motion.cpp.obj
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c common/x86/mc-c.c -o common/x86/mc-c-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:827: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:119: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:828: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:119: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:829: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:119: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:832: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:119: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:833: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:119: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:843: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:262: ... from macro `SSD_ONE_SS_32' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:844: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:348: ... from macro `SSD_ONE_SS_64' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:853: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:130: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:854: error: invalid combination of opcode and operands
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/x86/ssd-a.asm:130: ... from macro `SSD_ONE' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1333: ... from macro `movq' defined here
/handbrake/HandBrake/build/contrib/x265/x265_2.8/source/common/../common/x86/x86inc.asm:1217: ... from macro `RUN_AVX_INSTR' defined here
common/CMakeFiles/common.dir/build.make:110: recipe for target 'common/CMakeFiles/common.dir/x86/ssd-a.asm.obj' failed
make[3]: *** [common/CMakeFiles/common.dir/x86/ssd-a.asm.obj] Error 1
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
CMakeFiles/Makefile2:242: recipe for target 'common/CMakeFiles/common.dir/all' failed
make[2]: *** [common/CMakeFiles/common.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
/handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m32 -I/handbrake/HandBrake/build/contrib/include -mfpmath=sse -msse2 -mno-ms-bitfields -Wall -I. -I. -D_POSIX_C_SOURCE=200112L -march=i686 -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -fomit-frame-pointer -fno-tree-vectorize -fno-zero-initialized-in-bss -c common/x86/predict-c.c -o common/x86/predict-c-10.o -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
    [AS] vp8/common/x86/dequantize_mmx.asm.o
    [AS] vp8/common/x86/idctllm_mmx.asm.o
    [AS] vp8/common/x86/recon_mmx.asm.o
    [AS] vp8/common/x86/subpixel_mmx.asm.o
    [AS] vp8/common/x86/copy_sse2.asm.o
    [AS] vp8/common/x86/idctllm_sse2.asm.o
[ 12%] Building CXX object encoder/CMakeFiles/encoder.dir/slicetype.cpp.obj
    [AS] vp8/common/x86/recon_sse2.asm.o
    [AS] vp8/common/x86/subpixel_sse2.asm.o
    [AS] vp8/common/x86/loopfilter_sse2.asm.o
    [AS] vp8/common/x86/iwalsh_sse2.asm.o
    [AS] vp8/common/x86/copy_sse3.asm.o
    [AS] vp8/common/x86/subpixel_ssse3.asm.o
    [AS] vp8/common/x86/mfqe_sse2.asm.o
    [AS] vp8/encoder/x86/dct_sse2.asm.o
    [AS] vp8/encoder/x86/fwalsh_sse2.asm.o
    [AS] vp8/encoder/x86/temporal_filter_apply_sse2.asm.o
    [AS] vp8/encoder/x86/encodeopt.asm.o
    [AS] vp9/encoder/x86/vp9_dct_sse2.asm.o
    [AS] vp9/encoder/x86/vp9_error_sse2.asm.o
    [CREATE] vpx.pc
    [AR] libvpx_g.a
    [STRIP] libvpx.a < libvpx_g.a
    [DEP] tools/tiny_ssim.c.d
    [DEP] y4minput.c.d
    [CC] y4minput.c.o
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/cpu-a.o common/x86/cpu-a.asm
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/dct-32-8.o common/x86/dct-32.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
    [CC] tools/tiny_ssim.c.o
    [LD] tools/tiny_ssim.exe
make[1]: Leaving directory '/handbrake/HandBrake/build/contrib/libvpx/libvpx-1.7.0'
touch contrib/libvpx/.stamp.libvpx.build
[ 13%] Building CXX object encoder/CMakeFiles/encoder.dir/frameencoder.cpp.obj
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/pixel-32-8.o common/x86/pixel-32.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/bitstream-a-8.o common/x86/bitstream-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/const-a-8.o common/x86/const-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/cabac-a-8.o common/x86/cabac-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/dct-a-8.o common/x86/dct-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
[ 14%] Building CXX object encoder/CMakeFiles/encoder.dir/framefilter.cpp.obj
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/deblock-a-8.o common/x86/deblock-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
[ 16%] Building CXX object encoder/CMakeFiles/encoder.dir/level.cpp.obj
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/mc-a-8.o common/x86/mc-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/mc-a2-8.o common/x86/mc-a2.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
[ 17%] Building CXX object encoder/CMakeFiles/encoder.dir/nal.cpp.obj
[ 18%] Building CXX object encoder/CMakeFiles/encoder.dir/sei.cpp.obj
[ 20%] Building CXX object encoder/CMakeFiles/encoder.dir/sao.cpp.obj
[ 21%] Building CXX object encoder/CMakeFiles/encoder.dir/entropy.cpp.obj
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/pixel-a-8.o common/x86/pixel-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/predict-a-8.o common/x86/predict-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
[ 22%] Building CXX object encoder/CMakeFiles/encoder.dir/dpb.cpp.obj
[ 24%] Building CXX object encoder/CMakeFiles/encoder.dir/ratecontrol.cpp.obj
[ 25%] Building CXX object encoder/CMakeFiles/encoder.dir/reference.cpp.obj
[ 27%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.obj
[ 28%] Building CXX object encoder/CMakeFiles/encoder.dir/api.cpp.obj
[ 29%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.obj
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/quant-a-8.o common/x86/quant-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/sad-a-8.o common/x86/sad-a.asm -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
make[3]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
[ 29%] Built target encoder
make[2]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
Makefile:129: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/handbrake/HandBrake/build/contrib/x265/x265_2.8/12bit'
../contrib/x265_12bit/module.rules:2: recipe for target 'contrib/x265/.stamp.x265_12.build' failed
make: *** [contrib/x265/.stamp.x265_12.build] Error 2
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/dct-32-10.o common/x86/dct-32.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/pixel-32-10.o common/x86/pixel-32.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/bitstream-a-10.o common/x86/bitstream-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/const-a-10.o common/x86/const-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/cabac-a-10.o common/x86/cabac-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/dct-a-10.o common/x86/dct-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/deblock-a-10.o common/x86/deblock-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/mc-a-10.o common/x86/mc-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/mc-a2-10.o common/x86/mc-a2.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/pixel-a-10.o common/x86/pixel-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/predict-a-10.o common/x86/predict-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/quant-a-10.o common/x86/quant-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=0 -I./common/x86/ -f win32 -DPREFIX -DSTACK_ALIGNMENT=64 -o common/x86/sad16-a-10.o common/x86/sad16-a.asm -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
rm -f libx264.a
i686-w64-mingw32-gcc-ar rc libx264.a  common/osdep.o common/base.o common/cpu.o common/tables.o encoder/api.o common/win32thread.o common/mc-8.o common/predict-8.o common/pixel-8.o common/macroblock-8.o common/frame-8.o common/dct-8.o common/cabac-8.o common/common-8.o common/rectangle-8.o common/set-8.o common/quant-8.o common/deblock-8.o common/vlc-8.o common/mvpred-8.o common/bitstream-8.o encoder/analyse-8.o encoder/me-8.o encoder/ratecontrol-8.o encoder/set-8.o encoder/macroblock-8.o encoder/cabac-8.o encoder/cavlc-8.o encoder/encoder-8.o encoder/lookahead-8.o common/threadpool-8.o common/x86/mc-c-8.o common/x86/predict-c-8.o common/opencl-8.o encoder/slicetype-cl-8.o common/mc-10.o common/predict-10.o common/pixel-10.o common/macroblock-10.o common/frame-10.o common/dct-10.o common/cabac-10.o common/common-10.o common/rectangle-10.o common/set-10.o common/quant-10.o common/deblock-10.o common/vlc-10.o common/mvpred-10.o common/bitstream-10.o encoder/analyse-10.o encoder/me-10.o encoder/ratecontrol-10.o encoder/set-10.o encoder/macroblock-10.o encoder/cabac-10.o encoder/cavlc-10.o encoder/encoder-10.o encoder/lookahead-10.o common/threadpool-10.o common/x86/mc-c-10.o common/x86/predict-c-10.o  common/x86/cpu-a.o common/x86/dct-32-8.o common/x86/pixel-32-8.o common/x86/bitstream-a-8.o common/x86/const-a-8.o common/x86/cabac-a-8.o common/x86/dct-a-8.o common/x86/deblock-a-8.o common/x86/mc-a-8.o common/x86/mc-a2-8.o common/x86/pixel-a-8.o common/x86/predict-a-8.o common/x86/quant-a-8.o common/x86/sad-a-8.o common/x86/dct-32-10.o common/x86/pixel-32-10.o common/x86/bitstream-a-10.o common/x86/const-a-10.o common/x86/cabac-a-10.o common/x86/dct-a-10.o common/x86/deblock-a-10.o common/x86/mc-a-10.o common/x86/mc-a2-10.o common/x86/pixel-a-10.o common/x86/predict-a-10.o common/x86/quant-a-10.o common/x86/sad16-a-10.o
i686-w64-mingw32-gcc-ranlib libx264.a
make[1]: Leaving directory '/handbrake/HandBrake/build/contrib/x264/x264-snapshot-20180525-2245'
touch contrib/x264/.stamp.x264.build
time end: Tue Oct 16 14:16:35 2018
duration: 8 minutes, 17 seconds (497.53s)
result: FAILURE (code 2)
This is from config.verbose.txt

Code: Select all

probe: host tuple...(pass) x86_64-pc-linux-gnu
  + ./make/config.guess
  : x86_64-pc-linux-gnu
compute: available architectures...(pass) x86_64
  : <NO-OUTPUT>
find: ar...(pass) /usr/bin/ar
  : name[0] = ar
find: cp...(pass) /bin/cp
  : name[0] = cp
find: gcc...(pass) /usr/bin/gcc
  : name[0] = gcc
find: gmake...(pass) /usr/bin/make
  : name[0] = gmake
  : name[1] = make
find: gm4...(pass) /usr/bin/m4
  : name[0] = gm4
  : name[1] = m4
find: mkdir...(pass) /bin/mkdir
  : name[0] = mkdir
find: gpatch...(pass) /usr/bin/patch
  : name[0] = gpatch
  : name[1] = patch
find: rm...(pass) /bin/rm
  : name[0] = rm
find: ranlib...(pass) /usr/bin/ranlib
  : name[0] = ranlib
find: strip...(pass) /usr/bin/strip
  : name[0] = strip
find: gtar...(pass) /bin/tar
  : name[0] = gtar
  : name[1] = tar
find: nasm...(pass) /usr/bin/nasm
  : name[0] = nasm
find: autoconf...(pass) /usr/bin/autoconf
  : name[0] = autoconf
find: automake...(pass) /usr/bin/automake
  : name[0] = automake
find: cmake...(pass) /usr/bin/cmake
  : name[0] = cmake
find: libtool...(pass) /usr/bin/libtool
  : name[0] = libtool
find: pkg-config...(pass) /usr/bin/pkg-config
  : name[0] = pkg-config
find: xcodebuild...(fail) not found
  : name[0] = xcodebuild
find: lipo...(fail) not found
  : name[0] = lipo
find: i686-w64-mingw32-ar...(pass) /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-ar
  : name[0] = i686-w64-mingw32-ar
find: i686-w64-mingw32-gcc...(pass) /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc
  : name[0] = i686-w64-mingw32-gcc
find: i686-w64-mingw32-ranlib...(pass) /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-ranlib
  : name[0] = i686-w64-mingw32-ranlib
find: i686-w64-mingw32-strip...(pass) /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-strip
  : name[0] = i686-w64-mingw32-strip
compute: build tuple...(pass) i686-w64-mingw32
  : <NO-OUTPUT>
probe: number of CPU cores...(pass) 4
  : <NO-OUTPUT>
probe: repo info...(pass) https://github.com/HandBrake/HandBrake.git
  + ./scripts/repo-info.sh .
  : URL=https://github.com/HandBrake/HandBrake.git
  : HASH=8150402d59c01f1a00587b7d169390710c4af58f
  : SHORTHASH=8150402d5
  : REV=9004
  : BRANCH=master
  : REMOTE=origin
  : DATE=2018-10-16 13:57:40 +0200
compute: project data...(pass) HandBrake (developer)
  : <NO-OUTPUT>
version probe: nasm...(pass) 2.13.02
  + /usr/bin/nasm --version
  : NASM version 2.13.02
probe: static dlfcn...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:2:10: fatal error: dlfcn.h: No such file or directory
  :  #include <dlfcn.h>
  :           ^~~~~~~~~
  : compilation terminated.
probe: static pthread...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:3:10: fatal error: pthread.h: No such file or directory
  :  #include <pthread.h>
  :           ^~~~~~~~~~~
  : compilation terminated.
probe: static bz2...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:3:10: fatal error: bzlib.h: No such file or directory
  :  #include <bzlib.h>
  :           ^~~~~~~~~
  : compilation terminated.
probe: static zlib...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:3:10: fatal error: zlib.h: No such file or directory
  :  #include <zlib.h>
  :           ^~~~~~~~
  : compilation terminated.
probe: static xz...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:3:10: fatal error: lzma.h: No such file or directory
  :  #include <lzma.h>
  :           ^~~~~~~~
  : compilation terminated.
probe: static iconv...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:3:10: fatal error: iconv.h: No such file or directory
  :  #include <iconv.h>
  :           ^~~~~~~~~
  : compilation terminated.
probe: static regex...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : conftest.c:3:10: fatal error: regex.h: No such file or directory
  :  #include <regex.h>
  :           ^~~~~~~~~
  : compilation terminated.
probe: static strtok_r...(pass) end
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc -static
  : <NO-OUTPUT>
probe: strerror_r...(fail) code 1
  + /handbrake/toolchains/mingw-w64-i686/bin/i686-w64-mingw32-gcc
  : conftest.c: In function 'main':
  : conftest.c:10:5: warning: implicit declaration of function 'strerror_r'; did you mean 'strerror'? [-Wimplicit-function-declaration]
  :      strerror_r(1, errstr, 127);
  :      ^~~~~~~~~~
  :      strerror
  : /tmp/ccufcn93.o:conftest.c:(.text+0x29): undefined reference to `strerror_r'
  : collect2: error: ld returned 1 exit status
compute: makevar SRC/    = ..
compute: makevar BUILD/  = .
compute: makevar PREFIX/ = /usr/local
mkdir: ./build
chdir: ./build
write: GNUmakefile
mkdir: project
write: project/handbrake.m4
write: distfile.cfg
mkdir: log
write: log/build.txt
time begin: Tue Oct 16 14:08:17 2018
launch: /usr/bin/make -j4
time end: Tue Oct 16 14:16:35 2018
duration: 8 minutes, 17 seconds (497.53s)
result: FAILURE (code 2)
write: log/config.info.txt
write: log/config.verbose.txt

User avatar
s55
HandBrake Team
Posts: 9215
Joined: Sun Dec 24, 2006 1:05 pm

Re: Building 32bit version of handbrake for Windows failing

Post by s55 » Tue Oct 16, 2018 6:54 pm

I'm afraid we no longer support 32bit builds. You'll need to grab the last 32bit version from the old versions download page.

Even if you did get the libraries to build, the 32bit targets are gone for other components so you can't build the full app without writing code now.

rboy
Posts: 35
Joined: Sun Jul 09, 2017 12:11 am

Re: Building 32bit version of handbrake for Windows failing

Post by rboy » Tue Oct 16, 2018 7:30 pm

Thanks for the explanation.

One a related note, is there any flag I need to include to add support for NVENC to the 64bit build like there is for QSV? I can't seem to find the docs for it.

User avatar
s55
HandBrake Team
Posts: 9215
Joined: Sun Dec 24, 2006 1:05 pm

Re: Building 32bit version of handbrake for Windows failing

Post by s55 » Tue Oct 16, 2018 8:08 pm

--enable-nvenc

rboy
Posts: 35
Joined: Sun Jul 09, 2017 12:11 am

Re: Building 32bit version of handbrake for Windows failing

Post by rboy » Tue Oct 16, 2018 8:21 pm

s55 wrote:
Tue Oct 16, 2018 8:08 pm
--enable-nvenc
Thank you!

Just so I understood your earlier comment, even if the libraries build for 32bit (I think they should since HB using ffmpeg lib and that still builds for 32 bit), HandbrakeCLI won't compile as other dependencies within HB don't have the makefile/equivalents for 32 bit?

User avatar
s55
HandBrake Team
Posts: 9215
Joined: Sun Dec 24, 2006 1:05 pm

Re: Building 32bit version of handbrake for Windows failing

Post by s55 » Tue Oct 16, 2018 8:27 pm

The UI is defiantly a no-go as the 32bit build targets were physically removed. As for the CLI, no idea at this point. Clearly it doesn't work as it once did.

rboy
Posts: 35
Joined: Sun Jul 09, 2017 12:11 am

Re: Building 32bit version of handbrake for Windows failing

Post by rboy » Tue Oct 16, 2018 9:17 pm

Is there a way to modify the makefile to ask it to only build the CLI dependencies and then the CLI itself skipping the UI?

rboy
Posts: 35
Joined: Sun Jul 09, 2017 12:11 am

Re: Building 32bit version of handbrake for Windows failing

Post by rboy » Tue Oct 16, 2018 9:18 pm

If you can point me in the right direction I'll be happy to experiment and post back the results on how I made it work for others reference.

User avatar
s55
HandBrake Team
Posts: 9215
Joined: Sun Dec 24, 2006 1:05 pm

Re: Building 32bit version of handbrake for Windows failing

Post by s55 » Tue Oct 16, 2018 9:21 pm

The UI won't build anyway but with regards to the CLI, I wouldn't be able to offer any advice without going myself and fixing it. Since we don't support this anymore, I'm afraid that's not going to happen.

rboy
Posts: 35
Joined: Sun Jul 09, 2017 12:11 am

Re: Building 32bit version of handbrake for Windows failing

Post by rboy » Tue Oct 16, 2018 11:30 pm

Ok thanks

Post Reply