[libstdc++ PATCH] Fix PR bootstrap/11272

Eric Botcazou ebotcazou@libertysurf.fr
Sat Jun 21 08:57:00 GMT 2003


Hi,

This PR reports a bootstrap failure in libstdc++ on sparcv9-sun-solaris2.9 
for GCC 3.3 because of ioctl() undefined in config/io/basic_file_stdio.cc.

I must say that I'm a bit surprised because I bootstrapped the 3.3 branch 
numerous times on 5 different versions of Solaris without ever running into 
a similar problem. However, the reporter is a Sun employee so he might run a 
tweaked version of Solaris 9.

Anyway, the fix is straightforward and was applied to the mainline by Paolo. 
Compiled on sparc64-sun-solaris2.9 and i586-redhat-linux-gnu. Ok to commit?

-- 
Eric Botcazou


2003-06-21  Eric Botcazou  <ebotcazou@libertysurf.fr>

	PR bootstrap/11272
	Backport from mainline:

	2003-03-09  Paolo Carlini  <pcarlini@unitus.it>

	* config/io/basic_file_stdio.cc: include <unistd.h>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr11272.diff
Type: text/x-diff
Size: 545 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030621/6262e1d5/attachment.bin>


More information about the Gcc-patches mailing list