https://bugs.winehq.org/show_bug.cgi?id=55710
--- Comment #9 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Bernhard Übelacker from comment #8)
Can you please share your clang version and your configure line? You don't use mingw-w64, so you also don't use llvm-mingw? So this is a non-PE build, instead a .dll.so build? And are you building a pure 64-bit build?
This is wow64 PE build, clang version is 11.0.1. There's nothing special passed to configure. This is a recent regression, wine-staging wow64 builds used to work just fine.
P.S. Since wine-staging doesn't use --backend=git-am by default and some of the patches in the staging tree have trailing spaces it's impossible to perform a proper git bisect to find the offending patchset.