Re: [Linuxabi] Re: [ANNOUNCE] linux-libc-headers 2.6.3.0

From: H. Peter Anvin
Date: Thu Mar 04 2004 - 13:53:09 EST


Jeff Garzik wrote:
Krzysztof Halasa wrote:

Sam Ravnborg <sam@xxxxxxxxxxxx> writes:


IIRC the current agreed scheme is something along the lines of this:

abi/abi-linux/* Userspace relevant parts of include/linux
abi/abi-asm/ symlink to abi/abi-$(ARCH)
abi/abi-i386 i386 specific userland abi
abi/abi-ppc ppc ....



More efforts, no real effects.
I don't think we need such an infrastructure.
The normal headers should just be usable for user-space inclusion.


No, this is a big pain :)

The ABI headers shared with userspace need to be split from definitions that are only used in kernel space. #ifdef __KERNEL__ is a source of frustration :)


The biggest problem is that what is kernel ABI hasn't been very well thought about. The result is that the split between the what the kernel exports and what libc is supposed to provide itself is very haphazard.

And yes, #ifdef __KERNEL__ is a reflection of that.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/