http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47827
Summary: gcc fails to bootstrap on i386-pc-solaris2.10 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: gsean...@gmail.com Somewhere between revision 170122 and now, gcc no longer bootstraps on Solaris 10. Here is the error from the build log: libtool: compile: /BUILD/gcc/obj-170344/./gcc/xgcc -B/BUILD/gcc/obj-170344/./gcc/ -B/BUILD/gcc/170344/i386-pc-solaris2.10/bin/ -B/BUILD/gcc/170344/i386-pc-solaris2.10/lib/ -isystem /BUILD/gcc/170344/i386-pc-solaris2.10/include -isystem /BUILD/gcc/170344/i386-pc-solaris2.10/sys-include -m64 -DHAVE_CONFIG_H -I. -I/SOURCES/gcc-trunk/libquadmath -g -O2 -m64 -MT strtod/strtoflt128.lo -MD -MP -MF strtod/.deps/strtoflt128.Tpo -c /SOURCES/gcc-trunk/libquadmath/strtod/strtoflt128.c -fPIC -DPIC -o strtod/.libs/strtoflt128.o In file included from /SOURCES/gcc-trunk/libquadmath/strtod/strtoflt128.c:44:0: /SOURCES/gcc-trunk/libquadmath/strtod/strtod_l.c: In function ‘____strtoflt128_internal’: /SOURCES/gcc-trunk/libquadmath/strtod/strtod_l.c:556:19: error: ‘NAN’ undeclared (first use in this function) /SOURCES/gcc-trunk/libquadmath/strtod/strtod_l.c:556:19: note: each undeclared identifier is reported only once for each function it appears in make[6]: *** [strtod/strtoflt128.lo] Error 1