https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66655
Nick Clifton <nickc at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at gcc dot gnu.org --- Comment #15 from Nick Clifton <nickc at gcc dot gnu.org> --- Hi Roger, Hi Tony, I have been trying, unsuccessfully, to build a complete cygwin toolchain, but I was able to reproduce the reported failure. I did try out the patch below, which implements Tony's idea of restricting my original patch to just Mingw targets, but I was still unable to build a full toolchain (for other reasons). Roger - perhaps you would be able to test out the patch in your build environment for me ? Cheers Nick Index: gcc/config/i386/cygwin.h =================================================================== --- gcc/config/i386/cygwin.h (revision 232666) +++ gcc/config/i386/cygwin.h (working copy) @@ -157,3 +157,5 @@ /* We should find a way to not have to update this manually. */ #define LIBGCJ_SONAME "cyggcj" /*LIBGCC_EH_EXTN*/ "-16.dll" +/* Cygwin does not support weak symbols. */ +#undef MAKE_DECL_ONE_ONLY