This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: error while build glibc using kernel headers
On 14 Dec 2009, caishuxian@gmail.com verbalised:
> I got the impression that glibc could be built with raw kernel headers
> from the link below:
>
> http://www.linuxfromscratch.org/pipermail/faq/2004-July/000159.html
>
> Seems it's not accurate.
It was, but that was over five years ago: when it was written, the only
way to get sanitized headers was to clean them by hand, and that's so
laborious that many people just copied the kernel headers instead. So
glibc got tested against them and tended to work against them.
Since then, sanitized header generation has been automated and
responsibility for it moved from distros to the kernel: so everyone can
be assumed to have easy access to a source of sanitized headers, and
glibc building against unsanitized headers has been dropped with a
grateful sigh.