A log file of a 64-bit failed build on host 'fulvia' running Solaris 10 update 5
05/2008 can be seen here
http://trac.sagemath.org/sage_trac/attachment/ticket/9718/iconv-1.13.1.p2.log
The config.log can be seen here.
http://trac.sagemath.org/sage_trac/attachment/ticket/9718/config.log
This one is already using gcc 4.5.1, so I suggest to you to report a bug
to the GCC developers, like we discussed in
<http://lists.gnu.org/archive/html/bug-gnu-libiconv/2010-05/msg00004.html>.
Actually I now see in<http://gcc.gnu.org/install/specific.html#x86-64-x-x>
that 64-bit x86_64 compilation on Solaris is not supported by GCC:
"GCC supports the x86-64 architecture implemented by the AMD64 processor
(amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD."
You have managed to build a GCC in an unsupported configuration (how?), and
now you're encountering bugs. You're on your own.
Bruno