You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build should succeed with gallium megadriver linked with Vulkan shared library as there is no static library. This warning is displayed as it should though: WARNING: Static library 'vulkan' not found for dependency 'vulkan', may not be statically linked
Actual result
FAILED: src/gallium/targets/wgl/libgallium_wgl.dll
"c++" @src/gallium/targets/wgl/libgallium_wgl.dll.rsp
C:/Software/Development/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/12.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lvulkan: No such file or directory
collect2.exe: error: ld returned 1 exit status
System parameters
Is this a cross build or just a plain native build (for the same computer)?
Native
what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.)
There should be a warning during config about clang-cpp being a shared library only just like with 1st case but it's not.
Actual result
Microsoft CLC built like this always crashes. I wonder if clang-cpp actually gets linked in or clang doesn't get linked in at all. The latter justifies the crashes.
System parameters
Is this a cross build or just a plain native build (for the same computer)?
Native
what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.)
Case 1: library is required
To Reproduce
pacman -Syu
thenpacman -Su
;pacman -S bison flex git ${MINGW_PACKAGE_PREFIX}-{cc,meson,pkgconf,python-mako,vulkan-loader,zlib,zstd} --needed
${MINGW_PREFIX}/bin/meson setup build --buildtype=release -Db_ndebug=true -Dzstd=enabled --prefer-static -Dllvm=disabled -Dgallium-drivers=zink -Dvulkan-drivers= -Dshared-glapi=enabled -Dc_args="-march=core2 -pipe" -Dcpp_args="-march=core2 -pipe" -Dc_link_args="-static -s -ltre -lintl -liconv" -Dcpp_link_args="-static -s -ltre -lintl -liconv"
${MINGW_PREFIX}/bin/ninja -C build
Expected behavior
Build should succeed with gallium megadriver linked with Vulkan shared library as there is no static library. This warning is displayed as it should though:
WARNING: Static library 'vulkan' not found for dependency 'vulkan', may not be statically linked
Actual result
System parameters
Native
Windows 11
3.10.6
meson --version
0.63.1
ninja --version
if it's a Ninja build1.11.0
Another instance of this issue was analyzed here.
The text was updated successfully, but these errors were encountered: