[lkml]   [2003]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: no version magic, tainting kernel.
On Mon, Jan 27, 2003 at 05:08:50PM -0600, Kai Germaschewski wrote:
> Well, I suppose arguing about that without a concrete example is kinda
> pointless.

Fair enough.

> You ignored the fact that I said you will be able to use separate
> src/objdir, which means you can have your source read-only.

Yes. That still doesn't change the fact that in 2.4 I need the
headers. In 2.5 I need all 200MB of source + 60MB per different .config
of built tree. And that's per user using that source.

> Yes, all you really need is the checksums. Then again, you also want a way
> to verify a way that the checksums match the ABI as determined by the
> current .config. I mean, just using the previously recorded checksums
> without verifying is kinda pointless, they'll just always match and not
> fulfill their function.

You'd obviously have to have a way in the readonly /usr/src bits
to make sure that autoconf.h and the checksums match. That would have
to be enforced (as Red Hat does now with their method).

> Yup, I now looked into what Redhat does. It's an obvious sign that there
> is work to be done, in particular making the build system work in a way
> that vendors don't need to kludge around it would definitely be nice.

Maybe a way to track the differnet builds. I'm not sure. But
say you had a way of keeping multiple autoconf.h files in a tree. If
the kernel sources could be smart enough to figure out the version.h and
modversions locations from that path, then you could have an external
module create a kbuild makefile for itself and run something like:

make KERN_CONF=/usr/src/linux-2.6.1/include/autoconf/build-smp/autoconf.h modules

where kbuild figures out from KERN_CONF that modversions stuff is in
autoconf/buid-smp/modversions/ and version.h is in
autoconf/build-smp/version.h, etc. Something like that (I can beef with
this example, so no one tell me exactly why this specific example is bad

> which needs serious thinking and improvement. However, I think I need to
> finish the current work first, i.e. make sure the module versions actually
> work and then the separate obj / src dir stuff.

Yes, I understand that there are priorities.



"The cynics are right nine times out of ten."
- H. L. Mencken

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
Phone: (650) 506-8127
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.087 / U:11.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site