https://bugs.winehq.org/show_bug.cgi?id=58004
--- Comment #1 from cqwrteur euloanty@live.com --- clang: error: linker command failed with exit code 1 (use -v to see invocation) winegcc: /home/cqwrteur/toolchains/llvm/x86_64-linux-gnu/llvm/bin/clang failed make: *** [Makefile:218719: dlls/kernel32/i386-windows/kernel32.dll] Error 2 make: *** Waiting for unfinished jobs.... lld-link: error: <root>: undefined symbol: _DllMainCRTStartup@12 lld-link: error: undefined symbol: ___wine_spec_unimplemented_stub
referenced by tmp67e181ef/kernelbase-00000000.spec.o:(___wine_stub_AccessCheckByTypeAndAuditAlarmW) referenced by tmp67e181ef/kernelbase-00000000.spec.o:(___wine_stub_AccessCheckByTypeResultList) referenced by tmp67e181ef/kernelbase-00000000.spec.o:(___wine_stub_AccessCheckByTypeResultListAndAuditAlarmByHandleW) referenced 68 more times
lld-link: error: undefined symbol: ___wine_exception_handler_all
referenced by dlls/kernelbase/i386-windows/console.o:(_CtrlRoutine@4)
lld-link: error: undefined symbol: ___wine_setjmpex
referenced by dlls/kernelbase/i386-windows/console.o:(_CtrlRoutine@4) referenced by dlls/kernelbase/i386-windows/debug.o:(_OutputDebugStringA@4) referenced by dlls/kernelbase/i386-windows/debug.o:(_OutputDebugStringW@4) referenced 20 more times
lld-link: error: undefined symbol: ___wine_exception_handler
referenced by dlls/kernelbase/i386-windows/debug.o:(_OutputDebugStringA@4) referenced by dlls/kernelbase/i386-windows/debug.o:(_OutputDebugStringW@4) referenced by dlls/kernelbase/i386-windows/thread.o:(_start_fiber)
lld-link: error: undefined symbol: ___wine_exception_handler_page_fault
referenced by dlls/kernelbase/i386-windows/file.o:(_FindClose@4) referenced by dlls/kernelbase/i386-windows/loader.o:(_EnumResourceLanguagesExA@28) referenced by dlls/kernelbase/i386-windows/loader.o:(_EnumResourceLanguagesExW@28) referenced 16 more times
clang: error: linker command failed with exit code 1 (use -v to see invocation) winegcc: /home/cqwrteur/toolchains/llvm/x86_64-linux-gnu/llvm/bin/clang failed make: *** [Makefile:223219: dlls/kernelbase/i386-windows/kernelbase.dll] Error 2 wine build failure