http://bugs.winehq.org/show_bug.cgi?id=22053
--- Comment #36 from Andrey Rahmatullin wrar@wrar.name 2012-07-26 06:53:54 CDT --- (In reply to comment #35)
It's related to GCC
I don't think so.
so what's the exact version of it you're using?
4.7.1
I compile using make -j8 CFLAGS="-O3 -pipe -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -maccumulate-outgoing-args -mno-push-args -freorder-blocks-and-partition" LDFLAGS="-s"
And then it works.
1.5.6 works even without flags if I compile it from source. It doesn't work when built as a Debian package even with those flags passed to configure. But then 1.5.9 built manually without additional flags works too.