https://bugs.winehq.org/show_bug.cgi?id=52420
Bug ID: 52420 Summary: Wine 7.0 Release Compiled with Clang on Arch Produces a Broken Build Product: Wine Version: 7.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: nekoNexus@protonmail.ch Distribution: ---
Created attachment 71674 --> https://bugs.winehq.org/attachment.cgi?id=71674 Arch PKGBUILD File for Wine 7.0 Release
Using the default Arch makepkg flags (from /etc/makepkg.conf - by default this uses GCC so the user either has to change this to Clang or export to Clang in the PKGBUILD), using this example PKGBUILD produces a WoW64 build but throws stack overflow errors upon calling winecfg and doesn't run winecfg.
The same is true if all of the miscellaneous variables exported along with Clang are not set; this will still occur. Un-setting lld and/or any of the llvm variables bakes no difference.
This topic also has a page an the Arch forums: https://bbs.archlinux.org/viewtopic.php?id=273313