List Info

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




Problem with Guile on ia64 (possibly "getcontext" related)
user name
2006-07-19 01:40:07
Keith Owens <kaosocs.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.

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?

Thanks
-- 
Rob Browning
rlb defaultvalue.org and debian.org; previously cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0
25C8 D377 8C7E 73A4
-
To unsubscribe from this list: send the line
"unsubscribe linux-ia64" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html
Problem with Guile on ia64 (possibly "getcontext" related)
user name
2006-07-19 02:11:33
Rob Browning (on Tue, 18 Jul 2006 18:40:07 -0700) wrote:
>Keith Owens <kaosocs.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.

-
To unsubscribe from this list: send the line
"unsubscribe linux-ia64" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )