All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] hppa kernel-headers.deb and offset.h
@ 2001-11-19 21:08 Richard Hirst
  2001-11-20  8:20 ` [parisc-linux] " Bdale Garbee
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Hirst @ 2001-11-19 21:08 UTC (permalink / raw)
  To: bdale; +Cc: parisc-linux

Hi Bdale,
  Our kernel-headers debs are missing asm/offset.h, which is created
late on in a kernel build.  I only just noticed, when I tried to build
gdb.  I'm guessing that deb is created without doing a full kernel build,
so the file isn't created.  Note offset.h is different for 32 and 64 bit
kernels, and we want a 32 bit version in the kernel-headers deb.

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

Also...
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.

Richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [parisc-linux] Re: hppa kernel-headers.deb and offset.h
  2001-11-19 21:08 [parisc-linux] hppa kernel-headers.deb and offset.h Richard Hirst
@ 2001-11-20  8:20 ` Bdale Garbee
  2001-11-22 17:42   ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: Bdale Garbee @ 2001-11-20  8:20 UTC (permalink / raw)
  To: Richard Hirst; +Cc: parisc-linux

Richard Hirst <rhirst@linuxcare.com> writes:

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

Ewww.

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

Bdale

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] Re: hppa kernel-headers.deb and offset.h
  2001-11-20  8:20 ` [parisc-linux] " Bdale Garbee
@ 2001-11-22 17:42   ` Matthew Wilcox
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2001-11-22 17:42 UTC (permalink / raw)
  To: Bdale Garbee; +Cc: Richard Hirst, parisc-linux

On Tue, Nov 20, 2001 at 01:20:26AM -0700, Bdale Garbee wrote:
> > 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.

*sigh*.  whenever i built glibc, i ensured it was built with 32-bit kernel
headers.

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-22 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-19 21:08 [parisc-linux] hppa kernel-headers.deb and offset.h Richard Hirst
2001-11-20  8:20 ` [parisc-linux] " Bdale Garbee
2001-11-22 17:42   ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.