https://bugs.winehq.org/show_bug.cgi?id=53912
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- It seems to have been using the wrong libwinecrt0 though. You may want to do a make install to a temp dir and run winegcc from there to make sure it picks up the right libraries.