make bootstrap builds gcc/g++ compiler successfully but then dies while building libstdc++. When trying to compile basic_file.cc, I get a compiler error stating that ioctl() is undefined. I added '#include <unistd.h>' to basic_file.cc, right after all the comments at the top of the file, before any other #includes. make bootstrap now completes successfully.
I can't reproduce, but I understand that it can occur.
Fixing.
See http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02477.html