Fails to build on MSYS2/MINGW64 build system : "`r7d' undefined"

Issue #478 new
kalash nikov created an issue

The 2 last commits cause the the build to fail on my system : latest working build is 74a8672 , everything later fails.

Log file H:/Mingw647/build/x265-hg/source/common/pixel.cpp:944:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int x = 0; x < trSize; x++) ^~ H:/Mingw647/build/x265-hg/source/common/pixel.cpp:952:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int block_yy = 0; block_yy < trSize; block_yy += 1) ~~~^~ H:/Mingw647/build/x265-hg/source/common/pixel.cpp:954:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int block_xx = 0; block_xx < trSize; block_xx += 1) ~~~^~ [86/91] Building ASM_NASM object common/CMakeFiles/common.dir/x86/intrapred8.asm.obj [87/91] Building CXX object common/CMakeFiles/common.dir/ipfilter.cpp.obj [88/91] Building ASM_NASM object common/CMakeFiles/common.dir/x86/sad-a.asm.obj [89/91] Building ASM_NASM object common/CMakeFiles/common.dir/x86/h-ipfilter8.asm.obj ninja: build stopped: subcommand failed. [1/3] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixel-a.asm.obj FAILED: common/CMakeFiles/common.dir/x86/pixel-a.asm.obj H:\Mingw647\msys64\mingw32\bin\nasm.exe -f win32 -DPREFIX -DARCH_X86_64=0 -I H:/Mingw647/build/x265-hg/source/common/../common/x86/ -DHAVE_ALIGNED_STACK=1 -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -DX265_NS=x265 -o common/CMakeFiles/common.dir/x86/pixel-a.asm.obj H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:15955: error: symbol r7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:15983: error: symbolr7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16002: error: symbol r7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16026: error: symbolr7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16045: error: symbol r7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16083: error: symbolr7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16102: error: symbol r7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16166: error: symbolr7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16185: error: symbol r7d' undefined H:/Mingw647/build/x265-hg/source/common/x86/pixel-a.asm:16301: error: symbolr7d' undefined ninja: build stopped: subcommand failed.

Comments (2)

  1. kalash nikov reporter

    It seems that only the 32bit building is affected ; the x64 version builds just fine.

  2. Log in to comment