http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> --- Issue still exists for ia64 and cygwin/mingw targets on 4.9. The following files are including auto-host.h header: - config/i386/cygming-crtbegin.c - config/i386/cygming-crtend.c - config/i386/cygming-crtend.c - config/i386/cygwin.S - config/ia64/crtbegin.S - config/ia64/crtend.S - crtstuff.c In config/ia64/t-ia64-elf there is a tweak for finding this include-file. The macros required in crtstuff.c are: - HAVE_GAS_HIDDEN - HAVE_LD_EH_FRAME_HDR The cygwin/mingw part uses: - DEFAULT_USE_CXA_ATEXIT - HAVE_LD_RO_RW_SECTION_MIXING - HAVE_GAS_WEAK - HAVE_GAS_CFI_SECTIONS_DIRECTIVE The macros required in ia64 are: - HAVE_INITFINI_ARRAY_SUPPORT - USE_GAS_SYMVER So a lot of infrastructure of gcc needs to be ported to libgcc for detecting and probs for ld vs. gold, and as.