NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/44902 CVS commit: src/lib/libc/arch/sparc64/gen



On Wed, Apr 27, 2011 at 09:10:15PM +0000, Martin Husemann wrote:
>  Module Name: src
>  Committed By:        martin
>  Date:                Wed Apr 27 21:08:48 UTC 2011
>  
>  Modified Files:
>       src/lib/libc/arch/sparc64/gen: longjmp.c setjmp.S sigsetjmp.S
>  
>  Log Message:
>  Fix offsets used in the assembly code to save global registers into a
>  jmp_buf, add a compile time assert to catch this kind of divergence
>  in the C code.
>  Move the fixed "%npc = %pc + 4" computation to longjmp, this frees
>  the sigcontext sc_npc value. Use this space to save the savemask
>  for siglongjmp (we have run out of space behind the globals).
>  Fixes the tests/lib/libc/setjmp/t_threadjmp tests, and also hopefully
>  fixes PR port-sparc64/44902.

I can confirm that I can now build the "perl5" package with threading
enabled without problems on my NetBSD/sparc64 5.99.51 system.

Please close this PR, and thanks a lot for the fix.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index