Frogging-Family / dxvk-tools

dxvk and vkd3d-proton scripts to build/patch/install/update, Lutris and Proton-tkg compatible
60 stars 13 forks source link

Fedora 34 Fatal error when building "FAILED: src/dxvk_config/dxvk_config.dll" #13

Open StiliyanKushev opened 2 years ago

StiliyanKushev commented 2 years ago

[kushev@fedora dxvk-tools]$ ./updxvk build .---.`.---. /syhhhyso- -osyhhhys/ .syNMdhNNhss/``.---.``/sshNNhdMNys. +sdMh.+MNsssssssssssssssNM+.hMds+ :syNNdhNNhssssssssssssssshNNhdNNys: /ssyhhhysssssssssssssssssyhhhyss/ .ossssssssssssssssssssssssssssso. :sssssssssssssssssssssssssssssssss: /sssssssssssssssssssssssssssssssssss/ :sssssssssssssoosssssssoosssssssssssss: osssssssssssssoosssssssoossssssssssssso osssssssssssyyyyhhhhhhhyyyyssssssssssso /yyyyyyhhdmmmmNNNNNNNNNNNmmmmdhhyyyyyy/ smmmNNNNNNNNNNNNNNNNNNNNNNNNNNNNNmmms /dNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd/ :sdNNNNNNNNNNNNNNNNNNNNNNNNNds: -+shdNNNNNNNNNNNNNNNdhs+- .-:///////:-.`

HEAD is now at 581f0969 Update URL to HTTPS Removing src/dxvk_config/ #################

YOUR TREE WAS CONSIDERED DIRTY AND HAS BEEN CLEARED

################# mkdir: cannot create directory ‘dxvk-master’: File exists Already up to date. #################

NO REVERT PATCH DETECTED - MOVING ON

################# #################

APPLYING PATCH ../DXVKBUILD/patches/dxvk_config.dxvkpatch

################# patching file src/dxvk_config/dxvk_config.cpp patching file src/dxvk_config/dxvk_config.def patching file src/dxvk_config/dxvk_config.h patching file src/dxvk_config/dxvk_config.spec patching file src/dxvk_config/meson.build patching file src/dxvk_config/version.rc patching file src/meson.build

ccache was not found and will not be used #################

BUILDING

################# The Meson build system Version: 0.59.1 Source dir: /home/kushev/dxvk-tools/dxvk-master Build dir: /home/kushev/dxvk-tools/DXVKBUILD/dxvk-master/build.64 Build type: cross build Project name: dxvk Project version: v1.9.2 C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 10.3.1 "x86_64-w64-mingw32-gcc (GCC) 10.3.1 20210422 (Fedora MinGW 10.3.1-2.fc34)") C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.34-9 C++ compiler for the host machine: x86_64-w64-mingw32-g++ (gcc 10.3.1 "x86_64-w64-mingw32-g++ (GCC) 10.3.1 20210422 (Fedora MinGW 10.3.1-2.fc34)") C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.34-9 C compiler for the build machine: cc (gcc 11.2.1 "cc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)") C linker for the build machine: cc ld.bfd 2.35.2-5 C++ compiler for the build machine: c++ (gcc 11.2.1 "c++ (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)") C++ linker for the build machine: c++ ld.bfd 2.35.2-5 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Compiler for C++ supports link arguments -Wl,--file-alignment=4096: YES Program x86_64-w64-mingw32-windres found: YES Compiler for C++ supports arguments -msse3: YES Library vulkan-1 found: YES Library d3d9 found: YES Library d3d11 found: YES Library dxgi found: YES Library d3dcompiler_43 found: YES Library d3dcompiler_47 found: YES Program glslangValidator found: YES (/usr/bin/glslangValidator) Program /usr/bin/meson found: YES (/usr/bin/meson) Run-time dependency threads found: YES Dependency threads found: YES unknown (cached) Build targets in project: 14

Found ninja-1.10.2 at /usr/bin/ninja [151/277] Linking target src/dxvk_config/dxvk_config.dll FAILED: src/dxvk_config/dxvk_config.dll x86_64-w64-mingw32-g++ -o src/dxvk_config/dxvk_config.dll src/dxvk_config/dxvk_config.dll.p/version.o src/dxvk_config/dxvk_config.dll.p/dxvk_config.cpp.obj ../../../dxvk-master/src/dxvk_config/dxvk_config.def -Wl,--allow-shlib-undefined -Wl,-O1 -shared ../../../dxvk-master/src/dxvk_config/dxvk_config.def -Wl,--start-group -Wl,--out-implib=src/dxvk_config/dxvk_config.dll.a -Wl,--file-alignment=4096 -static -static-libgcc -static-libstdc++ src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a src/vulkan/libvkcommon.a -ldxgi -pthread /home/kushev/dxvk-tools/dxvk-master/lib/vulkan-1.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group /usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lpthread collect2: error: ld returned 1 exit status [164/277] Compiling C++ object src/d3d11/d3d11.dll.p/d3d11_class_linkage.cpp.obj ninja: build stopped: subcommand failed.

real 0m26.071s user 4m1.370s sys 0m18.377s

exit cleanup done

Tk-Glitch commented 2 years ago

Looks like your mingw toolchain wasn't built with threading support.