FAILED: libs/d3d12/d3d12.dll x86_64-w64-mingw32-gcc -o libs/d3d12/d3d12.dll ../../vkd3d-proton/libs/d3d12/d3d12.def libs/d3d12/d3d12.dll.p/main.c.obj -Wl,--allow-shlib-undefined -shared ../../vkd3d-proton/libs/d3d12/d3d12.def -Wl,--start-group -Wl,--out-implib=libs/d3d12/d3d12.dll.a -Wl,--file-alignment=4096 -static -static-libgcc -march=native -mtune=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -w -Wno-deprecated-declarations -fcf-protection libs/vkd3d-common/libvkd3d_common.a -ldxgi -pthread -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group /usr/lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld: libs/d3d12/d3d12.dll.p/main.c.obj:main.c:(.text+0x144): undefined reference to `__strcat_chk' collect2: error: ld returned 1 exit status
This is certainly a problem of my GCC, but has anybody else occurred it?
-Wp,-D_FORTIFY_SOURCE=2
You have some stray build flags in your environment, get rid of them and try again.
FORTIFY_SOURCE is not supported with MingW.
d3d12.dll
System information
Log files
This is certainly a problem of my GCC, but has anybody else occurred it?