This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] MIPS/Linux: Kernel vs libc struct siginfo discrepancy
- From: "Maciej W. Rozycki" <macro at linux-mips dot org>
- To: Ralf Baechle <ralf at linux-mips dot org>
- Cc: "Maciej W. Rozycki" <macro at mips dot com>, linux-mips at linux-mips dot org,libc-alpha at sources dot redhat dot com, Nigel Stephens <nigel at mips dot com>
- Date: Thu, 11 Nov 2004 02:39:29 +0000 (GMT)
- Subject: Re: [PATCH] MIPS/Linux: Kernel vs libc struct siginfo discrepancy
- References: <Pine.LNX.4.61.0411101657420.11408@perivale.mips.com><20041111014759.GA29699@linux-mips.org>
On Thu, 11 Nov 2004, Ralf Baechle wrote:
> > dated back to Aug 1999 (!), the definitions of struct siginfo in Linux and
> > GNU libc differ to each other. While it's the kernel that is at fault by
> > changing its ABI, at this stage it may be more acceptable to update glibc
> > as it's not the only program interfacing to Linux (uClibc?). It doesn't
>
> uClibc copies it's headers from glibc it seems. The change in 1999 was
> quite intensional because back then there was no SA_SIGINFO using libc for
> MIPS yet.
Well, I'm afraid the glibc's header dates back to Jan 1999, so it
predates the change to Linux and this is why it uses the original
definition. Of course I know what the relationship between MIPS/Linux and
glibc was back then and problems like this prove this wasn't the best idea
ever. They are the very reason I insist on pushing changes upstream as
soon as possible. Otherwise fixes get forgotten or lost as patches for
old versions get discarded. This change should have made its way to glibc
at the time of the change to Linux.
Maciej