http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49826
--- Comment #4 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-01-01 15:33:59 UTC --- (In reply to comment #3) The linker does not work very well with undecorated stdcall-s. For example: <http://sourceware.org/PR13495>. But if that bug will be fixed, then this one can be closed.