Red Hat Bugzilla – Bug 169111
LTC10091-64 bit stack not sufficiently aligned for setjmp
Last modified: 2007-11-30 17:07:08 EST
Created attachment 119177 [details]
Conservative fix for the problem
I started out by fixing STACK_BOUNDARY, such that the compiler would emit code
to preserve the correct stack alignment, but also assume such alignment. I
decided this wasn't such a good idea, for binary compatibility, and instead
modified the compiler such that it would preserve the additional alignment, but
not rely on it.
This will hopefully be enough to fix the problem, but I haven't been able to
actually verify that the problem is fixed, other than by inspecting the
generated assembly code and verifying that the generated code for the testcase
is the same in both my original fix and the one I present here.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.