This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Fix for broken pthread_cancel on MIPS N32, glibc-ports 2.5.
On Fri, May 25, 2007 at 12:09:59PM -0700, Kaz Kylheku wrote:
> The use of __WORDSIZE in computing the padding for struct siginfo is
> incorrect, because it is derived from the pointer size, which is 32
> under N32. So the 64 bit kernel and N32 glibc will disagree about the
> structure layout, causing problems in signal handling.
Please discuss this on linux-mips. I believe Peter Watkins and Ralf
had a conversation about it back in March, but it was never resolved.
The current definition is probably correct - what the kernel is doing
doesn't make much sense.
--
Daniel Jacobowitz
CodeSourcery