http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54659
Bug #: 54659 Summary: [4.8 Regression] Bootstrap with --disable-nls broken under Windows Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: bur...@gcc.gnu.org CC: dnovi...@gcc.gnu.org The following commit includes libintl.h even with --disable-nls: 2012-08-17 Diego Novillo <dnovi...@google.com> PR bootstrap/54281 * configure.ac: Add libintl.h to AC_CHECK_HEADERS list. * config.in: Regenerate. * configure: Regenerate. * intl.h: Always include libintl.h if HAVE_LIBINTL_H is set. That breaks bootstrap on Windows: C:\MinGW\msys\1.0\home\brad\gfortran\ibin\gcc/../../gcc-trunk/gcc/c-family/c-lex.c:152: undefined reference to `_libintl _fprintf' The reason is that libintl.h re-defines fprint on #if !@HAVE_POSIX_PRINTF@ systems, see: http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/libgnuintl.in.h