https://bugs.winehq.org/show_bug.cgi?id=40330
--- Comment #2 from Adam Buchbinder adam.buchbinder@gmail.com --- This appears to compile almost everything:
$ ./configure --enable-win64 CFLAGS="-g -O1 -fsanitize=address -fno-omit-frame-pointer" LDFLAGS="-fsanitize=address -lasan -lpthread"
However, make then fails on an execution of sfnt2fon, which may be a FreeType problem, but I'm not sure; the code in sfnt2fon.c is pretty involved. It seems to be complaining about memory allocated by FreeType, which the program then goes past the end of. I've attached the report, though it only identified the line in sfnt2fon.c, not anything before that.
Failures are seen on: sseriffe.fon, smae1257.fon, and smallee.fon.