I cannot build gcc-4.10 (latest snapshot and trunk) because I get: g++ -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../gcc-4.10-20140810/gcc -I../../gcc-4.10-20140810/gcc/c -I../../gcc-4.10-20140810/gcc/../include -I../../gcc-4.10-20140810/gcc/../libcpp/include -I../../gcc-4.10-20140810/gcc/../libdecnumber -I../../gcc-4.10-20140810/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc-4.10-20140810/gcc/../libbacktrace -o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF c/.deps/c-lang.TPo ../../gcc-4.10-20140810/gcc/c/c-lang.c In file included from ../../gcc-4.10-20140810/gcc/system.h:1088:0, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:22: ../../gcc-4.10-20140810/gcc/hwint.h:61:5: error: #error "Unable to find a suitable type for HOST_WIDE_INT" #error "Unable to find a suitable type for HOST_WIDE_INT" ^ ../../gcc-4.10-20140810/gcc/hwint.h:66:41: error: missing binary operator before token "(" #define HOST_WIDE_INT_1 HOST_WIDE_INT_C (1) ^ ../../gcc-4.10-20140810/gcc/hwint.h:66:41: error: missing binary operator before token "(" #define HOST_WIDE_INT_1 HOST_WIDE_INT_C (1) ^ ../../gcc-4.10-20140810/gcc/hwint.h:66:41: error: missing binary operator before token "(" #define HOST_WIDE_INT_1 HOST_WIDE_INT_C (1) ^ ../../gcc-4.10-20140810/gcc/hwint.h:66:41: error: missing binary operator before token "(" #define HOST_WIDE_INT_1 HOST_WIDE_INT_C (1) ^ In file included from ../../gcc-4.10-20140810/gcc/tree-core.h:27:0, from ../../gcc-4.10-20140810/gcc/tree.h:23, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:25: ../../gcc-4.10-20140810/gcc/statistics.h:25:2: error: #error GATHER_STATISTICS must be defined #error GATHER_STATISTICS must be defined ^ In file included from ../../gcc-4.10-20140810/gcc/c-family/c-common.h:24:0, from ../../gcc-4.10-20140810/gcc/c/c-tree.h:23, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:27: ../../gcc-4.10-20140810/gcc/../libcpp/include/cpplib.h:266:3: error: #error "Cannot find a least-32-bit signed integer type" # error "Cannot find a least-32-bit signed integer type" ^ In file included from ../../gcc-4.10-20140810/gcc/c/c-lang.c:22:0: ../../gcc-4.10-20140810/gcc/system.h:512:34: error: declaration of C function ‘const char* strsignal(int)’ conflicts with extern const char *strsignal (int); ^ In file included from /usr/local/gcc-4.8/include/c++/4.8.2/cstring:42:0, from ../../gcc-4.10-20140810/gcc/system.h:211, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:22: /usr/include/string.h:562:14: error: previous declaration ‘char* strsignal(int)’ here extern char *strsignal (int __sig) __THROW; ^ In file included from ../../gcc-4.10-20140810/gcc/../include/hashtab.h:40:0, from ../../gcc-4.10-20140810/gcc/../include/filenames.h:29, from ../../gcc-4.10-20140810/gcc/system.h:636, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:22: ../../gcc-4.10-20140810/gcc/../include/ansidecl.h:171:64: error: new declaration ‘char* basename(const char*)’ # define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m))) ^ ../../gcc-4.10-20140810/gcc/../include/libiberty.h:113:64: note: in expansion of macro ‘ATTRIBUTE_NONNULL’ extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_NONNULL(1); ^ In file included from /usr/local/gcc-4.8/include/c++/4.8.2/cstring:42:0, from ../../gcc-4.10-20140810/gcc/system.h:211, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:22: /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 ../../gcc-4.10-20140810/gcc/system.h:1088:0, from ../../gcc-4.10-20140810/gcc/c/c-lang.c:22: ../../gcc-4.10-20140810/gcc/hwint.h:74:9: error: ‘HOST_WIDE_INT’ does not name a type typedef HOST_WIDE_INT __gcc_host_wide_int__; ^ ../../gcc-4.10-20140810/gcc/hwint.h:157:33: error: expected ‘,’ or ‘...’ before ‘x’ clz_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int clz_hwi(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:159:7: error: ‘x’ was not declared in this scope if (x == 0) ^ ../../gcc-4.10-20140810/gcc/hwint.h:166:25: error: ‘x’ was not declared in this scope return __builtin_clz (x); ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:157:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] clz_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:171:33: error: expected ‘,’ or ‘...’ before ‘x’ ctz_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int ctz_hwi(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:173:7: error: ‘x’ was not declared in this scope if (x == 0) ^ ../../gcc-4.10-20140810/gcc/hwint.h:180:25: error: ‘x’ was not declared in this scope return __builtin_ctz (x); ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:171:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] ctz_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:185:33: error: expected ‘,’ or ‘...’ before ‘x’ ffs_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int ffs_hwi(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:192:25: error: ‘x’ was not declared in this scope return __builtin_ffs (x); ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:185:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] ffs_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:197:38: error: expected ‘,’ or ‘...’ before ‘x’ popcount_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int popcount_hwi(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:204:30: error: ‘x’ was not declared in this scope return __builtin_popcount (x); ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:197:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] popcount_hwi (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:209:36: error: expected ‘,’ or ‘...’ before ‘x’ floor_log2 (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int floor_log2(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:211:48: error: ‘x’ was not declared in this scope return HOST_BITS_PER_WIDE_INT - 1 - clz_hwi (x); ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:209:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] floor_log2 (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:215:35: error: expected ‘,’ or ‘...’ before ‘x’ ceil_log2 (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int ceil_log2(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:217:22: error: ‘x’ was not declared in this scope return floor_log2 (x - 1) + 1; ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:215:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] ceil_log2 (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:221:36: error: expected ‘,’ or ‘...’ before ‘x’ exact_log2 (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h: In function ‘int exact_log2(unsigned int)’: ../../gcc-4.10-20140810/gcc/hwint.h:223:10: error: ‘x’ was not declared in this scope return x == (x & -x) && x ? ctz_hwi (x) : -1; ^ ../../gcc-4.10-20140810/gcc/hwint.h: At global scope: ../../gcc-4.10-20140810/gcc/hwint.h:221:1: warning: unused parameter ‘HOST_WIDE_INT’ [-Wunused-parameter] exact_log2 (unsigned HOST_WIDE_INT x) ^ ../../gcc-4.10-20140810/gcc/hwint.h:232:8: error: ‘HOST_WIDE_INT’ does not name a type extern HOST_WIDE_INT abs_hwi (HOST_WIDE_INT); ^ ../../gcc-4.10-20140810/gcc/hwint.h:233:31: error: expected initializer before ‘absu_hwi’ extern unsigned HOST_WIDE_INT absu_hwi (HOST_WIDE_INT); ^ ../../gcc-4.10-20140810/gcc/hwint.h:234:8: error: ‘HOST_WIDE_INT’ does not name a type extern HOST_WIDE_INT gcd (HOST_WIDE_INT, HOST_WIDE_INT); ^ ../../gcc-4.10-20140810/gcc/hwint.h:235:8: error: ‘HOST_WIDE_INT’ does not name a type extern HOST_WIDE_INT pos_mul_hwi (HOST_WIDE_INT, HOST_WIDE_INT); ^ ../../gcc-4.10-20140810/gcc/hwint.h:236:8: error: ‘HOST_WIDE_INT’ does not name a type extern HOST_WIDE_INT mul_hwi (HOST_WIDE_INT, HOST_WIDE_INT); ^ ../../gcc-4.10-20140810/gcc/hwint.h:237:8: error: ‘HOST_WIDE_INT’ does not name a type extern HOST_WIDE_INT least_common_multiple (HOST_WIDE_INT, HOST_WIDE_INT); ^ ../../gcc-4.10-20140810/gcc/hwint.h:241:15: error: ‘HOST_WIDE_INT’ does not name a type static inline HOST_WIDE_INT ^ ../../gcc-4.10-20140810/gcc/hwint.h:256:1: error: expected initializer before ‘zext_hwi’ zext_hwi (unsigned HOST_WIDE_INT src, unsigned int prec) ^ make[3]: *** [c/c-lang.o] Error 1 make[3]: Leaving directory `/home/lada/temp-kompilace/gcc-bin/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/lada/temp-kompilace/gcc-bin' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/lada/temp-kompilace/gcc-bin' make: *** [all] Error 2 My system is OpenSuSE 12.3, I i used the automatic prerequisities downloader and configured with: ../gcc-4.10-20140810/configure --enable-languages=c,c++,fortran --with-cloog --prefix=/usr/local/gcc-4.10 Best regards, Vladimir