Hello Everyone, When my HEAD is at (svn+ssh://gcc.gnu.org/svn/gcc/trunk@190444 138bc75d-0d04-0410-961f-82ee72b054a4) I get the following error (please see it pasted below). When I revert to 1 commit before that, the problem seem to go away... Is it something to do with the GMP version I am using? Mine is a couple months older.
Also, I am using a x86_64 machine with SUSE Linux Enterprise Server 11 (x86_64). Thanks, Balaji V. Iyer. PS. Please CC me when responding to this message. =========================================================================================================== HEADERS="auto-host.h ansidecl.h" DEFINES="" \ /bin/sh ../../trunk-gcc-untouched/gcc/mkconfig.sh bconfig.h g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../trunk-gcc-untouched/gcc -I../../trunk-gcc-untouched/gcc/build -I../../trunk-gcc-untouched/gcc/../include -I../../trunk-gcc-untouched/gcc/../libcpp/include -I/export/users/gcc-trunk/b-trunk-gcc-untouched/./gmp -I/export/users/gcc-trunk/trunk-gcc-untouched/gmp -I/export/users/gcc-trunk/b-trunk-gcc-untouched/./mpfr -I/export/users/gcc-trunk/trunk-gcc-untouched/mpfr -I/export/users/gcc-trunk/trunk-gcc-untouched/mpc/src -I../../trunk-gcc-untouched/gcc/../libdecnumber -I../../trunk-gcc-untouched/gcc/../libdecnumber/bid -I../libdecnumber \ -o build/genconstants.o ../../trunk-gcc-untouched/gcc/genconstants.c In file included from /usr/include/sys/resource.h:25, from /usr/include/sys/wait.h:32, from ../../trunk-gcc-untouched/gcc/system.h:351, from ../../trunk-gcc-untouched/gcc/genconstants.c:29: /usr/include/bits/resource.h:127: error: declaration does not declare anything In file included from ../../trunk-gcc-untouched/gcc/genconstants.c:29: ../../trunk-gcc-untouched/gcc/system.h:443: error: declaration of C function âvoid* sbrk(int)â conflicts with /usr/include/unistd.h:1046: error: previous declaration âvoid* sbrk(intptr_t)â here In file included from ../../trunk-gcc-untouched/gcc/genconstants.c:29: ../../trunk-gcc-untouched/gcc/system.h:499: error: declaration of C function âconst char* strsignal(int)â conflicts with /usr/include/string.h:564: error: previous declaration âchar* strsignal(int)â here make[3]: *** [build/genconstants.o] Error 1 make[3]: Leaving directory `/export/users/gcc-trunk/b-trunk-gcc-untouched/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/export/users/gcc-trunk/b-trunk-gcc-untouched' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/export/users/gcc-trunk/b-trunk-gcc-untouched' make: *** [all] Error 2 ===========================================================================================================