https://bugs.winehq.org/show_bug.cgi?id=45199
--- Comment #59 from Alex Henrie alexhenrie24@gmail.com --- Hi Roman, thank you for your analysis!
If you confirm that it resolves the problem to add DECLSPEC_HOTPATCH to all of those functions, please send patches to wine-devel. If for whatever reason you don't want to send patches yourself, post a comment here and I will happily write and send them myself.
If the remaining problems on Fedora started with GCC 8.1.0 then we should reopen this bug report. If they are not the result of switching to a newer version of GCC then a new bug report would be better.