https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69140
--- Comment #9 from Justas L <bucaneer at gmail dot com> --- Yes, forced stack alignment on x86_64 was introduced after 5.2, in r228728 for pr66697. Also, I can confirm that adding -fno-omit-frame-pointer allows Wine to compile normally.