FAILED: [code=1] src/d3d10/d3d10core.dll
arm64ec-w64-mingw32-clang++ -o src/d3d10/d3d10core.dll src/d3d10/d3d10core.dll.p/version10_core.o src/d3d10/d3d10core.dll.p/d3d10_core.cpp.obj -flto -shared ../src/d3d10/d3d10core.def -Wl,--start-group -Wl,--out-implib=src/d3d10/d3d10core.dll.a -static -static-libgcc -static-libstdc++ -Wl,--file-alignment=4096 -ld3d11 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group -v
clang version 22.1.4
Target: arm64ec-w64-windows-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/22/bin
Configuration file: /etc/clang22/arm64ec-w64-windows-gnu.cfg
System configuration file directory: /etc/clang22
"/usr/lib/llvm/22/bin/ld.lld" -m arm64ecpe --shared -Bstatic -e DllMainCRTStartup --enable-auto-image-base -o src/d3d10/d3d10core.dll /usr/lib/llvm/22/arm64ec-w64-mingw32/lib/dllcrt2.o /usr/lib/llvm/22/arm64ec-w64-mingw32/lib/crtbegin.o -L/usr/lib/llvm/22/arm64ec-w64-mingw32/lib -L/usr/lib/llvm/22/arm64ec-w64-mingw32/mingw/lib -L/usr/lib/llvm/22/lib/clang/22/lib/windows src/d3d10/d3d10core.dll.p/version10_core.o src/d3d10/d3d10core.dll.p/d3d10_core.cpp.obj ../src/d3d10/d3d10core.def --start-group --out-implib=src/d3d10/d3d10core.dll.a --file-alignment=4096 -ld3d11 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 --end-group -plugin-opt=mcpu=generic -plugin-opt=-enable-tlsdesc -lc++ --start-group -lmingw32 /usr/lib/llvm/22/lib/clang/22/lib/windows/libclang_rt.builtins-aarch64.a -l:libunwind.a -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 --end-group /usr/lib/llvm/22/arm64ec-w64-mingw32/lib/crtend.o
ld.lld: error: undefined symbol: __gxx_personality_seh0 (EC symbol)
>>> referenced by ../src/d3d10/d3d10_core.cpp
>>> src/d3d10/d3d10core.dll.p/d3d10_core.cpp.obj
ld.lld: error: undefined symbol: __cxa_begin_catch (EC symbol)
>>> referenced by ../src/d3d10/d3d10_core.cpp
>>> src/d3d10/d3d10core.dll.p/d3d10_core.cpp.obj
ld.lld: error: undefined symbol: std::terminate() (EC symbol)
>>> referenced by ../src/d3d10/d3d10_core.cpp
>>> src/d3d10/d3d10core.dll.p/d3d10_core.cpp.obj