------- Additional Comments From tsv at solvo dot ru  2005-05-06 22:36 -------
Ok, I think I did find the problem. The unwind logic could not unwind deeper
than "ffi_closure_osf" function defined in libffi/src/alpha/osf.S (gdb showed
call stack like corrupted).
I checked number of bytes reserved from stack in ".frame" directive for the
functions and number of bytes for call stack described in FDEs in ".eh_frame"
section. They are different by 16 bytes for each function. I modified ".frame"
directive to reserve number of bytes as defined by FDEs (although changing of
FDEs would be easier) and my test cases started to work (even "ant" stopped
crashing).

Please, review the attached patch to libffi/src/alpha/osf.S file.

Thank you.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21285

Reply via email to