[Top] [All Lists]

Re: header files state

To: "Kevin D. Kissell" <>
Subject: Re: header files state
From: "William J. Earl" <>
Date: Mon, 20 Mar 2000 10:22:30 -0800 (PST)
Cc: "Andreas Jaeger" <>, "Florian Lohoff" <>, <>
In-reply-to: <004401bf924e$f0c526e0$>
References: <004401bf924e$f0c526e0$>
Kevin D. Kissell writes:
 > >Linus has stated quite violantly that glibc should not include any
 > >kernel headers at all - and we're now including less and less
 > >headers.  But this process needs time and occasionally breaks older
 > >glibc's.
 > What is Linus' rationale for his position?   It's true that 
 > having includes "reaching in" from libc imposes constraints
 > on kernel designers, but failure to do so is guaranteed
 > to induce error - as we have seen.

     In this particular case (MIPS-based systems), both glibc and the kernel 
attempt to be MIPS ABI compliant, so there is no real issue in having the
various definitions in two places, since there is an external reference,
just as there is for the processor itself.

     More generally, having a real ABI definition for the key system libraries,
such as libc, is a virtue; it reduces gratuitous "innovation".  Many 
have an ABI definition, at least for the basics.  

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