I'm building a lot of packages on SPARC Solaris from current pkgsrc and haven't noticed any problems. Are you building your packages inside chroot jail? Which GCC compilers do you use, the one bundled with Solaris under /usr/sfw or the one built from pkgsrc and which version?