https://bugs.winehq.org/show_bug.cgi?id=51051
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- I found the problem: beginning with 21.04, Ubuntu has started enabling LTO by default on 64 bit builds, but apparently not on 32 bit. That explains why 32 bit wine-staging built, but not why the wine-devel packages weren't affected. My experience with LTO in Fedora and openSUSE is all Wine builds fail when it is turned on.
Disabling LTO in the rules file enabled the wine-staging package to build, so my immediate problem is solved. However, I am wondering whether this is something Wine can or should disable in configure, as it does with other problematic settings. More and more distros are going that way--Fedora and openSUSE have already enabled it by default, and it looks like Debian is may be doing it for bookworm.