[Bug bootstrap/54659] New: [4.8 Regression] Bootstrap with --disable-nls broken under Windows

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 21 16:54:00 GMT 2012


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: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: dnovillo@gcc.gnu.org


The following commit includes libintl.h even with  --disable-nls:

    2012-08-17  Diego Novillo  <dnovillo@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



More information about the Gcc-bugs mailing list