Not currently a problem in the Port as we pass "--disable-tests" to ./configure, but without that switch Wine won't build with Clang, because some unit tests require the compiler to have a built-in "llabs", and Clang doesn't provide it: lld-link: error: undefined symbol: __declspec(dllimport) _llabs Upstream issue was closed invalid in 2011: https://github.com/llvm/llvm-project/issues/9928 This unrelated project had an internal workaround, not using llabs on MSVC < 18: https://github.com/Blosc/c-blosc/issues/95 https://github.com/Blosc/c-blosc/commit/825036288fdcc4581749502040b39b18ec3b615c
(In reply to Damjan Jovanovic from comment #0) Hi Damjan, Can you provide a patch for wine-devel that uses that #define so we workaround the problem with clang?