Re: Problem with Guile on ia64 (possibly "getcontext" related)

Keith Owens
2006-07-19T02:11:33Z

Rob Browning (on Tue, 18 Jul 2006 18:40:07 -0700) wrote:
>Keith Owens <kaos@ocs.com.au> writes:
>
>> Wild guess, based on no data. Add '__attribute__ ((returns_twice))' to
>> the definition of ia64_getcontext. That should remove the need to use
>> setjmp.
>
>That also seems to fix the crash.

Good.

>So would it be correct to say that the likely problem is just that
>because Guile calls getcontext via asm, gcc doesn't know that the call
>needs to be handled specially?

Exactly right.