https://bugs.winehq.org/show_bug.cgi?id=47750
Hal Gentz zegentzy@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zegentzy@protonmail.com
--- Comment #1 from Hal Gentz zegentzy@protonmail.com --- This was annoying to track down, but after some vigorous googling I discovered another project that experienced a similar issue when their program was compiled with `-ffast-math` (https://github.com/numpy/numpy/issues/10307).
It was, in my case, that one of the options in my CFLAGS was `-ffast-math`, and removing it stopped this linker issue. In your case, I believe `-Ofast` might imply `-ffast-math`, altho I have not confirmed. Anyways, adding `-fno-fast-math` to your CFLAGS should be good enough.