http://bugs.winehq.org/show_bug.cgi?id=24606
--- Comment #21 from Kyle kmilz@ucalgary.ca 2010-10-14 01:09:39 CDT --- Yep, as Alexandre stated this bug disappears when -D_FORTIFY_SOURCE=0 is passed in CFLAGS. So yeah sorry for the noise and this bogus patch that fixes a non-existent problem.
On a side note, what the hell are distributions doing compiling wine with fortify source on? I'm on Gentoo right now and I trust their package maintainers more than other distributions and this is just worrisome.
Alexandre, would you say it is never a good idea to use -D_FORTIFY_SOURCE when compiling wine?