This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/66105] New: [6 regression] genpreds.c compile error in stage2 on powerpc64-linux


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66105

            Bug ID: 66105
           Summary: [6 regression] genpreds.c compile error in stage2 on
                    powerpc64-linux
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikpelinux at gmail dot com
  Target Milestone: ---

Attempting to bootstrap gcc-6-20150510 on powerpc64-linux fails with:

/mnt/scratch/objdir6/./prev-gcc/xg++ -B/mnt/scratch/objdir6/./prev-gcc/
-B/mnt/scratch/install6/powerpc64-unknown-linux-gnu/bin/ -nostdinc++
-B/mnt/scratch/objdir6/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/mnt/scratch/objdir6/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/mnt/scratch/objdir6/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
 -I/mnt/scratch/objdir6/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/include 
-I/mnt/scratch/gcc-6-20150510/libstdc++-v3/libsupc++
-L/mnt/scratch/objdir6/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/mnt/scratch/objdir6/prev-powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror  
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/mnt/scratch/gcc-6-20150510/gcc
-I/mnt/scratch/gcc-6-20150510/gcc/build
-I/mnt/scratch/gcc-6-20150510/gcc/../include 
-I/mnt/scratch/gcc-6-20150510/gcc/../libcpp/include  \
        -o build/genpreds.o /mnt/scratch/gcc-6-20150510/gcc/genpreds.c
In file included from ./tm.h:33:0,
                 from /mnt/scratch/gcc-6-20150510/gcc/genpreds.c:26:
/mnt/scratch/gcc-6-20150510/gcc/config/rs6000/option-defaults.h:46:20: error:
C++11 requires a space between string literal and macro [-Werror=c++11-compat]
 #define OPT_ARCH32 "!"OPT_64
                    ^
cc1plus: all warnings being treated as errors
make[3]: *** [build/genpreds.o] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir6/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir6'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir6'
make: *** [bootstrap] Error 2

The previous weekly snapshot, gcc-6-20150503, bootstrapped fine.
This snapshot also bootstrapped fine on x86_64-linux.

Configured with:
/mnt/scratch/gcc-6-20150510/configure --prefix=/mnt/scratch/install6
--with-gmp=/home/mikpe/pkgs/linux-ppc64/gmp-6.0.0
--with-mpfr=/home/mikpe/pkgs/linux-ppc64/mpfr-3.1.2
--with-mpc=/home/mikpe/pkgs/linux-ppc64/mpc-1.0.3 --disable-plugin
--disable-lto --disable-nls --enable-threads=posix --with-cpu=default32
--enable-checking=release --disable-libmudflap --enable-linker-build-id
--enable-languages=c,c++,ada --disable-libsanitizer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]