linux-mips
[Top] [All Lists]

Re: resources.h patch / RLIM_INFINITY __KERNEL__ depend ?

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: resources.h patch / RLIM_INFINITY __KERNEL__ depend ?
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 31 Mar 2000 13:46:01 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <20000331102952.B273@paradigm.rfc822.org>; from flo@rfc822.org on Fri, Mar 31, 2000 at 10:29:52AM +0200
References: <20000330142705.B3530@paradigm.rfc822.org> <20000330184715.A1600@uni-koblenz.de> <20000331102952.B273@paradigm.rfc822.org>
Sender: owner-linuxmips@oss.sgi.com
On Fri, Mar 31, 2000 at 10:29:52AM +0200, Florian Lohoff wrote:

> > > again - short patch - RLIM_INFINITY - This is also defined in
> > > both glibc 2.0 and glibc 2.1 headers so it should be __KERNEL__
> > > dependend - Shouldnt it ?
> > 
> > Glibc 2.1 doesn't include <asm/resource.h>, and 2.0 shouldn't do as well
> > as per convention.  So the fix is to copy the necessary definitions from
> > kernel headers into glibc headers.
> > 
> > Thanks for reporting this.  I'm just cooking  a new glibc release ...
> 
> My glibc does include asm/resource.h - This is default hardhat (little endian)
> 
> resourcebits.h:#include <asm/resource.h>
> 
> This is what caused a lot of userspace builts to fail.

I know.  It's something that used to work with kernel 2.2 but breaks with
2.3.  There are a few more problems of this kind with glibc 2.0 and I'm
cooking up a patch that will make glibc usable and compilable with 2.3
as well.

  Ralf

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