https://bugs.winehq.org/show_bug.cgi?id=49381
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- I'm not sure where to start, so in random order:
1. '-march=i486 -mtune=i686' is not all that sane 2. most of the time, for programs using autotools as their build system in case of a build failure including config.log is a good idea
3. what you've found might both be and not be a valid bug - as in: it shouldn't happen, but to make it happen you need to go in with a broken build environment
Going by wine headers, you're most likely hitting either _WIN64 or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 condition. First should obviously off for any 32bit build for *anyone* building wine, the other depends on the compiler...
...having googled that part, I'd say there are hints pointing back to point 1.
config.log *might* help with figuring out the source of such confusion. Additional info about your build environment might help too.