http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46816
--- Comment #3 from yikey326 at hotmail dot com 2010-12-07 10:48:51 UTC --- Yes, the old problem might due to mpfr since in my computer I had several versions of gmp and mpfr was not installed properly. Now I reinstalled gmp and mpfr. But this time when I compile gcc it even have more problems and stops quickly. ../../gcc-4.4.5/gcc/../libcpp/include/line-map.h:66: error: `CHAR_BIT' undeclared here (not in a function) ../../gcc-4.4.5/gcc/../libcpp/include/line-map.h:66: error: bit-field `reason' width not an integer constant ../../gcc-4.4.5/gcc/../libcpp/include/line-map.h:66: warning: `reason' is narrower than values of its type In file included from ../../gcc-4.4.5/gcc/c-common.h:26, from ../../gcc-4.4.5/gcc/c-tree.h:25, from ../../gcc-4.4.5/gcc/c-lang.c:28: ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:198: error: bit-field `type' width not an integer constant ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:198: warning: `type' is narrower than values of its type In file included from ../../gcc-4.4.5/gcc/c-common.h:26, from ../../gcc-4.4.5/gcc/c-tree.h:25, from ../../gcc-4.4.5/gcc/c-lang.c:28: ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:241:3: #error "Cannot find a least-32-bit signed integer type" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:243: error: syntax error before "cppchar_t" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:243: warning: type defaults to `int' in declaration of `cppchar_t' ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:243: warning: data definition has no type or storage class ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:244: error: syntax error before "cppchar_signed_t" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:244: warning: type defaults to `int' in declaration of `cppchar_signed_t' ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:244: warning: data definition has no type or storage class ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:732: error: syntax error before "cpp_interpret_charconst" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:733: warning: type defaults to `int' in declaration of `cpp_interpret_charconst' ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:733: warning: data definition has no type or storage class ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: error: syntax error before "cpp_host_to_exec_charset" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: error: syntax error before "cppchar_t" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: warning: type defaults to `int' in declaration of `cpp_host_to_exec_charset' ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: warning: function declaration isn't a prototype ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:743: warning: data definition has no type or storage class ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:870: error: syntax error before "cpp_parse_escape" ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:871: warning: type defaults to `int' in declaration of `cpp_parse_escape' ../../gcc-4.4.5/gcc/../libcpp/include/cpplib.h:871: warning: data definition has no type or storage class make[3]: *** [c-lang.o] Error 1 make[3]: Leaving directory `/usr/src/gccobjects/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/usr/src/gccobjects' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/usr/src/gccobjects' make: *** [all] Error 2