Bug 11272 - make bootstrap fails while building libstdc++
Summary: make bootstrap fails while building libstdc++
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 3.3
: P1 critical
Target Milestone: 3.3.1
Assignee: Eric Botcazou
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2003-06-20 20:16 UTC by Charles Cox
Modified: 2003-06-22 06:42 UTC (History)
1 user (show)

See Also:
Host: sparcv9-sun-solaris2.9
Target: sparcv9-sun-solaris2.9
Build: sparcv9-sun-solaris2.9
Known to work:
Known to fail:
Last reconfirmed: 2003-06-21 06:09:36


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 1 Eric Botcazou 2003-06-21 06:08:58 UTC
I can't reproduce, but I understand that it can occur.
Comment 2 Eric Botcazou 2003-06-21 06:09:36 UTC
Fixing.
Comment 3 Eric Botcazou 2003-06-22 06:42:19 UTC
See http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02477.html