2.6 is not stable on Sparc. Use 2.4. With that said, your compile errors may be caused by options you have enabled in your config. I've had no problems compiling the current ~sparc development-sources. You would have to post your config.