[Bug libgomp/60107] libgomp.c/pr58392.c etc. FAIL
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 10 09:57:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list