http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57486
Bug ID: 57486 Summary: bootstrap fails on 4.8 and google/4.8 branch on RHEL6.1 platform Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: matt at use dot net I'm getting this failure when trying to bootstrap on RHEL6.1, with either the system compiler (gcc 4.4.x) or a 4.7-based compiler I bootstrapped successfully before: ../configure --prefix=/u/mhargett --with-cloog=/usr/home/nfs-readonly/mhargett --with-isl=/usr/home/nfs-readonly/mhargett --with-gmp=/usr/home/nfs-readonly/mhargett --with-mpfr=/usr/home/nfs-readonly/mhargett --with-ppl=/usr/home/nfs-readonly/mhargett --with-isl=/usr/home/nfs-readonly/mhargett/ --disable-isl-version-check --with-build-config=bootstrap-lto --enable-languages=c,c++,lto --enable-gold=yes --enable-lto /opt/gcc-google-4.7-v7/bin/g++-google-4.7 -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/usr/home/nfs-readonly/mhargett/include -I/usr/home/nfs-readonly/mhargett/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace -DCLOOG_INT_GMP -I/usr/home/nfs-readonly/mhargett/include -I/usr/home/nfs-readonly/mhargett//include ../../gcc/graphite-dependences.c -o graphite-dependences.o In file included from ../../gcc/dbgcnt.h:28:0, from ../../gcc/graphite.c:57: ../../gcc/dbgcnt.def:149:1: error: \u2018clone\u2019 redeclared as different kind of symbol In file included from /usr/include/sched.h:43:0, from /usr/include/pthread.h:25, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/x86_64-unknown-linux-gnu/bits/gthr-default.h:41, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/x86_64-unknown-linux-gnu/bits/gthr.h:150, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/ext/atomicity.h:34, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/bits/ios_base.h:41, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/ios:43, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/ostream:40, from /opt/gcc-google-4.7-v7/lib/gcc/x86_64-unknown-linux-gnu/4.7.x-google/../../../../include/c++/4.7.x-google/iostream:40, from /usr/home/nfs-readonly/mhargett/include/isl/int.h:17, from /usr/home/nfs-readonly/mhargett/include/isl/ctx.h:16, from /usr/home/nfs-readonly/mhargett/include/isl/map_type.h:4, from /usr/home/nfs-readonly/mhargett/include/isl/set.h:13, from ../../gcc/graphite.c:38: /usr/include/bits/sched.h:83:12: error: previous declaration of \u2018int clone(int (*)(void*), void*, int, void*, ...)\u2019 make[3]: *** [graphite.o] Error 1 make[3]: *** Waiting for unfinished jobs.... the problem is this line in dbgcnt.def: DEBUG_COUNTER (clone) unless there's a better suggestion, I'll attach a patch that renames the counter to clone_function.