Re: 2.6.18-rc6-mm1 breaks glibc build

From: David Woodhouse
Date: Sat Sep 09 2006 - 07:46:47 EST


On Sat, 2006-09-09 at 13:44 +0000, Mike Galbraith wrote:
> For whatever reason, glibc sets sysincludes to point to the running
> kernel's include directory ala...
> sysincludes = -I /lib/modules/2.6.18-rc6-mm1-smp/build/include
> in it's config.make instead of using installed headers, and this leads
> to the compile failure below.

That's wrong. When you run 'make headers_install', the result is placed
in /lib/modules/`uname -r`/abi/include/

It looks like glibc is pointed at the raw kernel headers in the build
tree.

> I just edited config.make to point to different headers, dunno if it
> _should_ work as before (2.6.18-rc6 does) or not.
>
> /lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h: Assembler messages:

Don't care. <linux/err.h> is not a header which is exported to userspace
by 'make headers_install'. No userspace build, including glibc, should
ever be able to see it.

--
dwmw2

-
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/