I'm sort of surprised you are seeing this problem. We seem to build fine on Solaris using Gcc. It may be Solaris 9 but I would be mildly surprised at a change that mattered.