One potential issue that I do know about is the -msave-args option. It is supported by gcc 3.4.3 but not gcc 4.3.x. In looking through the ON nightly logs, I see that we do use that option in our i386 builds.
Thanks, George Alan Coopersmith wrote: > George Vasick wrote: >> Basabi Bhattacharya wrote: >>> Would like to know if there is any disadvantages in compiling >>> application/device drivers with Gcc (4.3.x) and running them on >>> OpenSoalris (128a) built with Sunstudio12. I'd assume that all debugging >>> tools (mdb and dtrace) should work as expected. I was able to compile >>> OpenSolaris with Gcc (SUNWgcc 3.4.3) but our sources are compiled with >>> Gcc 4.3.3 and would like to use that or upgrade that to 4.4.4. >> 3.4.3 is still the official GCC version used for building OpenSolaris. I >> am not aware that any testing has been done with 4.3.x yet. > > Some work was needed (and I believe has all been integrated) to get ON > sources to be compatible with the gcc 4.x frontend used by the parfait > static analyzer for parsing the source. I don't believe anyone actually > verified the binaries produced by the gcc 4.x backend were usable though, > nor do I know of anyone making sure all the other consolidations were > buildable with gcc 4.x, though those based on external open source (SFW, > X, Desktop) are likely okay, at least in the components that are up to > date with an active upstream project. >