Neil Jerram <[EMAIL PROTECTED]> writes:

> Is anyone already working on this?  If not, I'll take a look.

I looked around a bit last night and found some relevant discussions:

  http://gcc.gnu.org/ml/gcc/2002-07/msg01417.html
  http://www.gelato.unsw.edu.au/archives/linux-ia64/0109/2178.html

I also came across this, which suggests that adding a dummy setjmp
before the getcontext call might help:

  http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/144939

So I tried adding a dummy setjmp call (which isn't actually executed)
right before getcontext in continuations.c, and that does fix the
illegal instruction when executing (call/cc (lambda (c) (c #t))).

However, without having a better understanding about what's actually
happening, I'm not inclined to treat this as a correct solution yet.

Can anyone else comment more conclusively?

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


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to