Subject: Re: 2.0 for sgimips broken
To: Rafal Boni <>
From: Martin Husemann <>
List: port-sgimips
Date: 05/14/2004 17:19:57
On Fri, May 14, 2004 at 11:01:21AM -0400, Rafal Boni wrote:
> Maybe interestingly, regress/lib/libpthread/siglongjmp1 fails with:
> 	./siglongjmp1
> 	siglongjmp1: SIGSEGV set

This usually happens when some libc stub (like __setjmp14) directly calls
a weak aliased system call (like sigprocmask). This way the sigprocmask
inside the kernel changes but libpthreads idea of it does not.

Unfortunately on RISC machines it's often far more easy to do a system
call than to do a PIC call to a libc stub which does the system call -
but we must do the latter.

Not that I've looked at the mips libc code at all, just reporting from my
experience - been there, had that wrong too - thanks to Christian Limpach for
diagnostic help. Hmm, but then I think Simon and I talked about this  failure
mode when he did the libc changes - could this be a ld.elf_so problem?