linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS/Linux: Kernel vs libc struct siginfo discrepancy

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] MIPS/Linux: Kernel vs libc struct siginfo discrepancy
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Thu, 11 Nov 2004 02:39:29 +0000 (GMT)
Cc: "Maciej W. Rozycki" <macro@mips.com>, linux-mips@linux-mips.org, libc-alpha@sources.redhat.com, Nigel Stephens <nigel@mips.com>
In-reply-to: <20041111014759.GA29699@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.61.0411101657420.11408@perivale.mips.com> <20041111014759.GA29699@linux-mips.org>
Sender: linux-mips-bounce@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

<Prev in Thread] Current Thread [Next in Thread>