linux-mips
[Top] [All Lists]

Re: resources.h patch / RLIM_INFINITY __KERNEL__ depend ?

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: resources.h patch / RLIM_INFINITY __KERNEL__ depend ?
From: Florian Lohoff <flo@rfc822.org>
Date: Fri, 31 Mar 2000 10:29:52 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <20000330184715.A1600@uni-koblenz.de>; from Ralf Baechle on Thu, Mar 30, 2000 at 06:47:15PM +0200
Organization: rfc822 - pure communication
References: <20000330142705.B3530@paradigm.rfc822.org> <20000330184715.A1600@uni-koblenz.de>
Sender: owner-linuxmips@oss.sgi.com
On Thu, Mar 30, 2000 at 06:47:15PM +0200, Ralf Baechle wrote:
> On Thu, Mar 30, 2000 at 02:27:05PM +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.

Flo
-- 
Florian Lohoff          flo@rfc822.org                  +49-5241-470566
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."


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