https://bugs.winehq.org/show_bug.cgi?id=50257
--- Comment #39 from Alex S iwtcex@gmail.com --- (In reply to Jacek Caban from comment #38)
stdarg.h is usually shipped with the compiler and Clang should provide one. Is it missing in your Clang installation (see eg. /usr/lib/clang/12.0.0/include/stdarg.h) for some reason?
Somehow it is missing; probably an oversight. Thank you for clarification though, at least I learned where to grab the correct header.
Now we only have to hunt down a few extremely obnoxious Clang-related regressions*... Like the one where clang/lld builds a few remaining .dll.so's such as (BaseOfCode << 32) + AddressOfEntryPoint < ImageBase, which fixup_rva_ptrs seems to further mess up.
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231010