Current gcc trunk no longer bootstraps with --enable-build-with-cxx on
x86_64-apple-darwin10. The build fails at...

config.status: executing depdir commands
mkdir .deps
g++  -I../../gcc/libcpp -I. -I../../gcc/libcpp/../include
-I../../gcc/libcpp/include  -g -W -Wall -Wwrite-strings
-Wmissing-format-attribute -pedantic -Wno-long-long  -I../../gcc/libcpp -I.
-I../../gcc/libcpp/../include -I../../gcc/libcpp/include  -c -o charset.o -MT
charset.o -MMD -MP -MF .deps/charset.Tpo ../../gcc/libcpp/charset.c
In file included from ../../gcc/libcpp/charset.c:22:
../../gcc/libcpp/system.h:260:21: warning: libintl.h: No such file or directory
In file included from ../../gcc/libcpp/system.h:30,
                 from ../../gcc/libcpp/charset.c:22:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h:152: error: multiple
types in one declaration
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h:152: error: declaration
does not declare anything
make[3]: *** [charset.o] Error 1
make[2]: *** [all-stage1-libcpp] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

when the build is configured as...

../gcc/configure --prefix=/Users/howarth/dist --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--enable-checking=yes --enable-languages=c,c++ --enable-build-with-cxx

           Summary: --enable-build-with-cxx compiling gcc/libcpp/charset.c
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10

Reply via email to