dozen: MSVC 32-bit build failure
Before submitting your bug report:
- Check if a new version of Mesa is available which might have fixed the problem - Not applicable
- If you can, check if the latest development version (git main) works better - It doesn't.
Log
FAILED: src/microsoft/vulkan/vulkan_dzn.dll.p/dzn_cmd_buffer.cpp.obj
"cl" "-Isrc\microsoft\vulkan\vulkan_dzn.dll.p" "-Isrc\microsoft\vulkan" "-I..\..\src\microsoft\vulkan" "-Iinclude" "-I..\..\include" "-Isrc" "-I..\..\src" "-Isrc\mapi" "-I..\..\src\mapi" "-I..\..\src\mesa" "-I..\..\src\gallium\include" "-I..\..\src\gallium\auxiliary" "-Isrc\compiler" "-I..\..\src\compiler" "-Isrc\util" "-I..\..\src\util" "-Isrc\microsoft\compiler" "-I..\..\src\microsoft\compiler" "-Isubprojects\zlib-1.2.11" "-I..\..\subprojects\zlib-1.2.11" "-Isrc\microsoft\spirv_to_dxil" "-I..\..\src\microsoft\spirv_to_dxil" "-Isrc\compiler\nir" "-I..\..\src\compiler\nir" "-Isrc\vulkan\util" "-I..\..\src\vulkan\util" "-Isrc\vulkan\runtime" "-I..\..\src\vulkan\runtime" "-Isrc\vulkan\wsi" "-I..\..\src\vulkan\wsi" "-I..\..\subprojects\DirectX-Headers-1.0\include" "-DNDEBUG" "/MT" "/nologo" "/showIncludes" "/utf-8" "/W2" "/EHsc" "/std:c++20" "/permissive-" "/O2" "/Gw" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DPACKAGE_VERSION=\"22.1.0-devel\"" "-DPACKAGE_BUGREPORT=\"https://gitlab.freedesktop.org/mesa/mesa/-/issues\"" "-DHAVE_WINDOWS_PLATFORM" "-DUSE_ELF_TLS" "-DENABLE_ST_OMX_BELLAGIO=0" "-DENABLE_ST_OMX_TIZONIA=0" "-DEGL_NO_X11" "-D_WINDOWS" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DPIPE_SUBSYSTEM_WINDOWS_USER" "-D_USE_MATH_DEFINES" "-DVC_EXTRALEAN" "-D_CRT_SECURE_NO_WARNINGS" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_WARNINGS" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ALLOW_KEYWORD_MACROS" "-D_HAS_EXCEPTIONS=0" "-DNOMINMAX" "-DMISSING_64BIT_ATOMICS" "-DHAVE_STRTOF" "-DHAVE_QSORT_S" "-DHAVE_ZLIB" "-DHAVE_COMPRESSION" "-DLLVM_AVAILABLE" "-DMESA_LLVM_VERSION_STRING=\"14.0.0\"" "-DLLVM_IS_SHARED=0" "-DDRAW_LLVM_AVAILABLE" "-DMESA_EXECMEM" "/wd4018" "/wd4056" "/wd4244" "/wd4267" "/wd4305" "/wd4351" "/wd4756" "/wd4800" "/wd4996" "/wd4291" "/wd4146" "/wd4200" "/wd4624" "/wd4309" "/wd4838" "/wd5105" "/we4020" "/we4024" "/Zc:__cplusplus" "-DVK_USE_PLATFORM_WIN32_KHR" "/Fdsrc\microsoft\vulkan\vulkan_dzn.dll.p\dzn_cmd_buffer.cpp.pdb" /Fosrc/microsoft/vulkan/vulkan_dzn.dll.p/dzn_cmd_buffer.cpp.obj "/c" ../../src/microsoft/vulkan/dzn_cmd_buffer.cpp
../../src/microsoft/vulkan/dzn_cmd_buffer.cpp(304): error C2373: 'dzn_BeginCommandBuffer': redefinition; different type modifiers
src\microsoft\vulkan\dzn_entrypoints.h(276): note: see declaration of 'dzn_BeginCommandBuffer'
../../src/microsoft/vulkan/dzn_cmd_buffer.cpp(3786): error C2664: 'hash_entry *_mesa_hash_table_insert(hash_table *,const void *,void *)': cannot convert argument 2 from 'VkEvent' to 'const void *'
../../src/microsoft/vulkan/dzn_cmd_buffer.cpp(3786): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or parenthesized function-style cast
..\..\src\util/hash_table.h(93): note: see declaration of '_mesa_hash_table_insert'
../../src/microsoft/vulkan/dzn_cmd_buffer.cpp(3799): error C2664: 'hash_entry *_mesa_hash_table_insert(hash_table *,const void *,void *)': cannot convert argument 2 from 'VkEvent' to 'const void *'
../../src/microsoft/vulkan/dzn_cmd_buffer.cpp(3799): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or parenthesized function-style cast
..\..\src\util/hash_table.h(93): note: see declaration of '_mesa_hash_table_insert'
[381/394] Compiling C++ object src/microsoft/vulkan/vulkan_dzn.dll.p/dzn_meta.cpp.obj
FAILED: src/microsoft/vulkan/vulkan_dzn.dll.p/dzn_meta.cpp.obj
"cl" "-Isrc\microsoft\vulkan\vulkan_dzn.dll.p" "-Isrc\microsoft\vulkan" "-I..\..\src\microsoft\vulkan" "-Iinclude" "-I..\..\include" "-Isrc" "-I..\..\src" "-Isrc\mapi" "-I..\..\src\mapi" "-I..\..\src\mesa" "-I..\..\src\gallium\include" "-I..\..\src\gallium\auxiliary" "-Isrc\compiler" "-I..\..\src\compiler" "-Isrc\util" "-I..\..\src\util" "-Isrc\microsoft\compiler" "-I..\..\src\microsoft\compiler" "-Isubprojects\zlib-1.2.11" "-I..\..\subprojects\zlib-1.2.11" "-Isrc\microsoft\spirv_to_dxil" "-I..\..\src\microsoft\spirv_to_dxil" "-Isrc\compiler\nir" "-I..\..\src\compiler\nir" "-Isrc\vulkan\util" "-I..\..\src\vulkan\util" "-Isrc\vulkan\runtime" "-I..\..\src\vulkan\runtime" "-Isrc\vulkan\wsi" "-I..\..\src\vulkan\wsi" "-I..\..\subprojects\DirectX-Headers-1.0\include" "-DNDEBUG" "/MT" "/nologo" "/showIncludes" "/utf-8" "/W2" "/EHsc" "/std:c++20" "/permissive-" "/O2" "/Gw" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D__STDC_LIMIT_MACROS" "-DPACKAGE_VERSION=\"22.1.0-devel\"" "-DPACKAGE_BUGREPORT=\"https://gitlab.freedesktop.org/mesa/mesa/-/issues\"" "-DHAVE_WINDOWS_PLATFORM" "-DUSE_ELF_TLS" "-DENABLE_ST_OMX_BELLAGIO=0" "-DENABLE_ST_OMX_TIZONIA=0" "-DEGL_NO_X11" "-D_WINDOWS" "-D_WIN32_WINNT=0x0A00" "-DWINVER=0x0A00" "-DPIPE_SUBSYSTEM_WINDOWS_USER" "-D_USE_MATH_DEFINES" "-DVC_EXTRALEAN" "-D_CRT_SECURE_NO_WARNINGS" "-D_CRT_SECURE_NO_DEPRECATE" "-D_SCL_SECURE_NO_WARNINGS" "-D_SCL_SECURE_NO_DEPRECATE" "-D_ALLOW_KEYWORD_MACROS" "-D_HAS_EXCEPTIONS=0" "-DNOMINMAX" "-DMISSING_64BIT_ATOMICS" "-DHAVE_STRTOF" "-DHAVE_QSORT_S" "-DHAVE_ZLIB" "-DHAVE_COMPRESSION" "-DLLVM_AVAILABLE" "-DMESA_LLVM_VERSION_STRING=\"14.0.0\"" "-DLLVM_IS_SHARED=0" "-DDRAW_LLVM_AVAILABLE" "-DMESA_EXECMEM" "/wd4018" "/wd4056" "/wd4244" "/wd4267" "/wd4305" "/wd4351" "/wd4756" "/wd4800" "/wd4996" "/wd4291" "/wd4146" "/wd4200" "/wd4624" "/wd4309" "/wd4838" "/wd5105" "/we4020" "/we4024" "/Zc:__cplusplus" "-DVK_USE_PLATFORM_WIN32_KHR" "/Fdsrc\microsoft\vulkan\vulkan_dzn.dll.p\dzn_meta.cpp.pdb" /Fosrc/microsoft/vulkan/vulkan_dzn.dll.p/dzn_meta.cpp.obj "/c" ../../src/microsoft/vulkan/dzn_meta.cpp
../../src/microsoft/vulkan/dzn_meta.cpp(626): error C2070: 'char [0]': illegal sizeof operand
[393/394] Generating src/microsoft/vulkan/dzn_devenv_icd with a custom command
ninja: build stopped: cannot make progress due to previous errors.
System information
https://github.com/pal1000/mesa-dist-win/blob/master/buildinfo/msvc.txt
Regression
Not a regression, probably it never worked before.