Woo hoo! Looks like I forgot to add the details of -mcall-ms2sysv-xlogues to the changes (https://gcc.gnu.org/gcc-8/changes.html). Is it too late to change that? At least this only really affects one project (that I'm aware of). I've got some improvements to it for GCC 9 that I'll get together in the next few weeks. I'll email the Wine list later today.
Daniel