------- Comment #10 from hjl dot tools at gmail dot com 2009-09-19 21:42 ------- (In reply to comment #9) > Created an attachment (id=18608) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18608&action=view) [edit] > sse & 32bit -> -mstackrealign (example only!) > > Previous my ideas too heavy. :) > IMHO native solution for this problem is "-mstackrealign". It solving problems > with known to me packages (including zlib). I trying to make > STACK_REALIGN_DEFAULT related from TARGET_SSE && !TARGET_64BIT (see patch). > But > got "internal compiler error" on gcc self-compiling with "-march=pentium4". > Without sse (=without -mstackrealign) self-compiling works. > > Why -mstackrealign may be bad and why gcc dont' self-compiling so? >
Stack alignment in unwind library is unsupported. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41156