http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-29 21:51:08 UTC --- >Its strange that there is an option -m64 that appears in the command line. Not really because i386-solaris is a multi-arch target which includes amd64 too. Can you attach config.log from /tmp/gcc-build/4.5.2/bld/i386-pc-solaris2.10/amd64/libgcc ?