http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60107
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, this isn't about main alignment (and, after all, main realigns the stack anyway), but about stack alignment upon entering pthread_create callbacks. If the Solaris libraries don't maintain 16-byte stack alignment, then either you could arrange to compile parts of libgomp with -mincoming-stack-boundary=2 (or -mstackrealign) on Solaris/i?86 32-bit. Or just make sure the default on Solaris is -mincoming-stack-boundary=2 or whatever the libraries do guarantee.