Gcc [trunk revision 209742] failed to bootstrap on x86_64!

H.J. Lu Intel64 Core i7 intel64corei7@gnu-34.sc.intel.com
Thu Apr 24 09:40:00 GMT 2014


cd bld; \
 RUNTESTFLAGS="--target_board='unix{-m32,}'" ../src-trunk/configure \
	--with-arch=corei7 --with-cpu=intel --prefix=/usr/4.10.0 --enable-clocale=gnu --with-system-zlib --enable-shared --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran,java,lto,objc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
    grep "Error " makelog.209742.trunk.x86_64.intel >> makelog.209742.trunk.x86_64.intel.mail; \
make[6]: *** [gcc-ar.o] Error 1
make[6]: *** [errors.o] Error 1
make[5]: *** [all-stage1-gcc] Error 2
make[4]: *** [stage1-bubble] Error 2
make[3]: *** [bootstrap] Error 2
make[2]: *** [bootstrap] Error 2
                                       ^
../../src-trunk/gcc/gcc-ar.c:189:35: error: call of overloaded ‘strsignal(int&)’ is ambiguous
      exe_name, sig, strsignal (sig),
                                   ^
../../src-trunk/gcc/gcc-ar.c:189:35: note: candidates are:
In file included from /usr/include/c++/4.8.2/cstring:42:0,
                 from ../../src-trunk/gcc/system.h:205,
                 from ../../src-trunk/gcc/gcc-ar.c:22:
/usr/include/string.h:562:14: note: char* strsignal(int)
 extern char *strsignal (int __sig) __THROW;
              ^
In file included from ../../src-trunk/gcc/gcc-ar.c:22:0:
../../src-trunk/gcc/system.h:506:20: note: const char* strsignal(int)
 extern const char *strsignal (int);
                    ^
make[6]: *** [gcc-ar.o] Error 1
make[6]: *** Waiting for unfinished jobs....
In file included from ../../src-trunk/gcc/../include/hashtab.h:40:0,
                 from ../../src-trunk/gcc/../include/filenames.h:29,
                 from ../../src-trunk/gcc/system.h:630,
                 from ../../src-trunk/gcc/errors.c:29:
../../src-trunk/gcc/../include/ansidecl.h:171:64: error: new declaration ‘char* basename(const char*)’
 #  define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
                                                                ^
../../src-trunk/gcc/../include/libiberty.h:110:64: note: in expansion of macro ‘ATTRIBUTE_NONNULL’
 extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1);
                                                                ^
In file included from /usr/include/c++/4.8.2/cstring:42:0,
                 from ../../src-trunk/gcc/system.h:205,
                 from ../../src-trunk/gcc/errors.c:29:
/usr/include/string.h:599:26: error: ambiguates old declaration ‘const char* basename(const char*)’
 extern "C++" const char *basename (const char *__filename)
                          ^
In file included from ../../src-trunk/gcc/system.h:1064:0,
                 from ../../src-trunk/gcc/errors.c:29:
../../src-trunk/gcc/hwint.h: In function ‘int clz_hwi(long unsigned int)’:
../../src-trunk/gcc/hwint.h:16:30: error: ‘CHAR_BIT’ was not declared in this scope
 #define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
                              ^
../../src-trunk/gcc/hwint.h:60:35: note: in expansion of macro ‘HOST_BITS_PER_LONG’
 #   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
                                   ^
../../src-trunk/gcc/hwint.h:244:12: note: in expansion of macro ‘HOST_BITS_PER_WIDE_INT’
     return HOST_BITS_PER_WIDE_INT;
            ^
../../src-trunk/gcc/hwint.h: In function ‘int ctz_hwi(long unsigned int)’:
../../src-trunk/gcc/hwint.h:16:30: error: ‘CHAR_BIT’ was not declared in this scope
 #define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
                              ^
../../src-trunk/gcc/hwint.h:60:35: note: in expansion of macro ‘HOST_BITS_PER_LONG’
 #   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
                                   ^
../../src-trunk/gcc/hwint.h:258:12: note: in expansion of macro ‘HOST_BITS_PER_WIDE_INT’
     return HOST_BITS_PER_WIDE_INT;
            ^
../../src-trunk/gcc/hwint.h: In function ‘int floor_log2(long unsigned int)’:
../../src-trunk/gcc/hwint.h:16:30: error: ‘CHAR_BIT’ was not declared in this scope
 #define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
                              ^
../../src-trunk/gcc/hwint.h:60:35: note: in expansion of macro ‘HOST_BITS_PER_LONG’
 #   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
                                   ^
../../src-trunk/gcc/hwint.h:295:10: note: in expansion of macro ‘HOST_BITS_PER_WIDE_INT’
   return HOST_BITS_PER_WIDE_INT - 1 - clz_hwi (x);
          ^
../../src-trunk/gcc/hwint.h: In function ‘long int sext_hwi(long int, unsigned int)’:
../../src-trunk/gcc/hwint.h:16:30: error: ‘CHAR_BIT’ was not declared in this scope
 #define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
                              ^
../../src-trunk/gcc/hwint.h:60:35: note: in expansion of macro ‘HOST_BITS_PER_LONG’
 #   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
                                   ^
../../src-trunk/gcc/hwint.h:328:15: note: in expansion of macro ‘HOST_BITS_PER_WIDE_INT’
   if (prec == HOST_BITS_PER_WIDE_INT)
               ^
../../src-trunk/gcc/hwint.h: In function ‘long unsigned int zext_hwi(long unsigned int, unsigned int)’:
../../src-trunk/gcc/hwint.h:16:30: error: ‘CHAR_BIT’ was not declared in this scope
 #define HOST_BITS_PER_LONG  (CHAR_BIT * SIZEOF_LONG)
                              ^
../../src-trunk/gcc/hwint.h:60:35: note: in expansion of macro ‘HOST_BITS_PER_LONG’
 #   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
                                   ^
../../src-trunk/gcc/hwint.h:342:15: note: in expansion of macro ‘HOST_BITS_PER_WIDE_INT’
   if (prec == HOST_BITS_PER_WIDE_INT)
               ^
make[6]: *** [errors.o] Error 1
/bin/sh ../../src-trunk/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
rm gcov.pod cpp.pod gfdl.pod gcc.pod fsf-funding.pod
make[6]: Leaving directory `/export/gnu/import/git/gcc-test-intel64corei7/bld/gcc'
make[5]: *** [all-stage1-gcc] Error 2
make[5]: Leaving directory `/export/gnu/import/git/gcc-test-intel64corei7/bld'
make[4]: *** [stage1-bubble] Error 2
make[4]: Leaving directory `/export/gnu/import/git/gcc-test-intel64corei7/bld'
make[3]: *** [bootstrap] Error 2
make[3]: Leaving directory `/export/gnu/import/git/gcc-test-intel64corei7/bld'
49.60user 14.94system 0:27.01elapsed 238%CPU (0avgtext+0avgdata 47116maxresident)k
11808inputs+155136outputs (19major+11020914minor)pagefaults 0swaps
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/export/gnu/import/git/gcc-test-intel64corei7'



More information about the Gcc-regression mailing list