I will attach a patch that allows me to compile a compiler on Solaris 10/x86 that has a native bits size of 64 for produced code. I created the configuration analogous to the sparcv9-sun-solaris2.* case. With this patch I have successfully built a fully 64-bits environment (toolchain, userland) that appears to work fine. Essentially the profile just switches the default code generation from m32 to m64, so no real rocket science in here ;)
Created attachment 14937 [details] solaris x86_64 configuration
I'm sorry for the spam, this should have been reported in bug #30726 *** This bug has been marked as a duplicate of 30726 ***