I'm seeing a different bootstrap failure from those already discussed: In file included from /scratch/jmyers/fsf/gcc-mainline/libcc1/../gcc/gcc-plugin.h:28:0, from /scratch/jmyers/fsf/gcc-mainline/libcc1/plugin.cc:34: /scratch/jmyers/fsf/gcc-mainline/libcc1/../gcc/system.h:653:17: fatal error: gmp.h: No such file or directory
It appears the build is ignoring the --with-gmp option passed to configure. Since <gmp.h> is included in system.h, if you include system.h you have to pass the right -I option corresponding to --with-gmp / --with-gmp-include. (There are several other such configure options for MPFR, MPC, CLooG, ISL, libiconv at least - whether they are relevant depends on whether your code ends up including the relevant headers.) -- Joseph S. Myers jos...@codesourcery.com