[OpenAFS-devel] lwp code vs. recent glibc in FC5

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Sun, 05 Mar 2006 20:27:14 -0500


In message <440B5049.6090809@cs.wisc.edu>,Marc Dionne writes:
>It turns out that a recent glibc change (circa Dec 2005) makes setjmp 
>mangle the stack pointer when storing it in the jmp_buf; longjmp 
>unmangles it on the way back.  Since we manipulate the stack pointer we 
>need to be able to place a mangled value in the buffer so that longjmp 

it might be time to consider using the ucontext() by default on
platforms that support ucontext().  i originally wrote it for the ia64
since its setjmp/longjmp were not sufficient for lwp.