[klibc] Call for help with release...

maximilian attems max at stro.at
Tue Feb 23 06:11:30 PST 2010


On Mon, 22 Feb 2010, Arnd Bergmann wrote:

> On Sunday 21 February 2010, H. Peter Anvin wrote:
> > On 02/20/2010 06:00 PM, Américo Wang wrote:
> 
> > klibc, like other libcs, use the kernel headers because they describe
> > the kernel ABI (system calls, constants, structures and so on.)  Because
> > klibc was originally designed to build in the kernel tree itself, it
> > uses the kernel headers directly, but now the kernel has a procedure for
> > extracting the user-space relevant bits.
> 
> I've had some success with this patch, but it probably needs to be
> refined a bit more. Unfortunately, include/linux/socket.h broke
> in the meantime because of 9c501935 "net: Support inclusion of 
> <linux/socket.h> before <sys/socket.h>" from Ben Hutchings, so more
> changes are needed to get klibc working with current kernels.

see attached patches, finaly came around to commit them to private branch.
first and second are harmless and could just be applied.
( hpa: you want a pull request for them?? )

third one needs review as I just pulled in what broke on build,
since cleaned up <linux/socket.h>
 
> The patch adds a new directory 'headers' in which we install the
> kernel headers and uses it. There is no longer a .config, so the
> patch also removes all references to that.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

cool have to try that.


More information about the klibc mailing list