dxvk: winelib build: undefined reference to `pthread_cond_clockwait' in dxvk::DxgiAdapter::runEventThread()

Hi,

since 1.6.1, winelib build is crashing with:

FAILED: src/dxgi/dxgi.dll.so 
wineg++  -o src/dxgi/dxgi.dll.so 'src/dxgi/cde8a16@@dxgi.dll@sha/version.res' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_adapter.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_enums.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_factory.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_format.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_main.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_monitor.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_options.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_output.cpp.o' 'src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_swapchain.cpp.o' ../src/dxgi/dxgi.spec -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,dxgi.dll.so -m64 -mwindows src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a src/vulkan/libvkcommon.a -pthread -ldl -lwinevulkan -Wl,--end-group '-Wl,-rpath,$ORIGIN/../dxvk:$ORIGIN/../util:$ORIGIN/../spirv:$ORIGIN/../vulkan' -Wl,-rpath-link,/builddir/build/BUILD/dxvk-1.6.1/x86_64-redhat-linux-gnu/src/dxvk -Wl,-rpath-link,/builddir/build/BUILD/dxvk-1.6.1/x86_64-redhat-linux-gnu/src/util -Wl,-rpath-link,/builddir/build/BUILD/dxvk-1.6.1/x86_64-redhat-linux-gnu/src/spirv -Wl,-rpath-link,/builddir/build/BUILD/dxvk-1.6.1/x86_64-redhat-linux-gnu/src/vulkan
/usr/bin/ld: src/dxgi/cde8a16@@dxgi.dll@sha/dxgi_adapter.cpp.o: in function `dxvk::DxgiAdapter::runEventThread()':
dxgi_adapter.cpp:(.text+0x26ca): undefined reference to `pthread_cond_clockwait'
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/g++ failed

Complete build log: https://kojipkgs.fedoraproject.org//work/tasks/2826/43562826/build.log Wine used for build: wine-5.6

Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 31 (20 by maintainers)

Most upvoted comments

@FireBurn My ebuilds do use *FLAGS: L45 & L113.

I think we should talk elsewhere about ebuilds and issues with crossdev on Gentoo, maybe the forums or the gentoo-user mailinglist? It’s a bit off-topic here. 🙂