[parisc-linux] Re: hppa kernel-headers.deb and offset.h

Bdale Garbee bdale@gag.com
20 Nov 2001 01:20:26 -0700

Richard Hirst <rhirst@linuxcare.com> writes:

> Our kernel-headers debs are missing asm/offset.h, which is created
> late on in a kernel build.


> Maybe the kernel should build offset.h as part of make dep, or something.

Yes.  Building the file during make dep, and *not* removing it during make
clean (remove it during distclean, leave it present during clean) would fix
the problem.

> glibc build should use kernel-headers, but I guess libc6-dev_2.2.4-6
> was built using some local kernel tree for the headers, and has picked
> up a 64 bit offset.h.  so, anyone trying to build gdb will have to
> replace their offset.h.

So, we've never had a real kernel-headers package before.  I guess once we get
one that's right, we should re-spin glibc even if it's a binNMU.