http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830
--- Comment #41 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to Kai Tietz from comment #39) > Well, the patch might work-a-round issue. Nevertheless it just paperbags > the real issue existing in binutils. > Additionally the patch would break x64 > version of cygwin. At least that was the reason why we introduced it. Kai, this issue is also present in binutils-2.22, and probably very old. So it really deserves a work-around on our side. As far as I understood from your messages on gcc-patches, the PE-Format is not able to handle weak externals without any definition. But it is not a requirement, that the weak definition is in the same file, where it is used. So this patch just moves the weak definitions to another file. The only file I could think of is cygming-crtend.c, because crtbegin.o and crtend.o are always used in pairs. What do you think, will this work for x64 too? Bernd.