11272 – make bootstrap fails while building libstdc++ (original) (raw)

Description Charles Cox 2003-06-20 20:16:13 UTC

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.