In lib/gcc_personality_v0.c, I believe the type of the exception_cleanup member of the struct
_Unwind_Exception is incorrect. It has a return type of _Unwind_Reason_Code versus a return
type of void as specified in http://refspecs.freestandards.org/abi-eh-1.21.html, and as can be seen
in unwind.h on Linux, and OS X 10.6.x (the latter's unwind.h is under the Developer directory tree).
The attached patch changes this return type to void.
Garrison
gcc_personality_v0.patch (702 Bytes)