From: Keith Owens <kaos@ocs.com.au>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net/802/Makefile
Date: Tue, 27 Nov 2001 17:28:16 +1100 [thread overview]
Message-ID: <12324.1006842496@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Mon, 26 Nov 2001 22:18:55 -0800." <20011126.221855.102041585.davem@redhat.com>
On Mon, 26 Nov 2001 22:18:55 -0800 (PST),
"David S. Miller" <davem@redhat.com> wrote:
> From: Keith Owens <kaos@ocs.com.au>
> Date: Tue, 27 Nov 2001 17:12:04 +1100
>
> The source repository (whether BK or any other system) is not the
> problem. You can get the timestamps right in the source but the moment
> you generate and ship a diff then you lose control of timestamps. See
> the long screed below about the problems with shipping generated files,
> from kbuild-2.5.txt.
>
>Even after reading this I don't understand why defkeymap.c gets
>special treatment just because it requires external tools to generate.
>
>If the timestamps get messed up, it's going to try to regerenerate the
>file with loadkeys whether you have it or not.
When the maintainer did the build on their system, the timestamps were
right. The moment the change is converted to a patch and sent for
inclusion in the kernel, timestamp order cannot be guaranteed, the
final result on kernel.org may have the base file being older or newer
than the generated output. kbuild 2.4 is completely broken for
generated files, tthe only reason it "works" is because most of these
files do not change.
kbuild 2.5 fixes this problem. It knows that you can never rely on
timestamps when you ship both a base file and a file that has been
generated from it. Instead it uses checksums to detect any changes,
that is part of the gory details that were omitted from the previous
mail.
>At best, I'd be happy to take a patch which commented out the rule
>which tries to generate net/802/cl2llc.c but not one which will chmod
>it. Because the latter only makes sense if we are now deciding to do
>this for _every_ such case in the tree.
I have fixed _every_ such case in 2.5. It is unfixable in 2.4, the
order of timestamps on generated and shipped files is not reliable.
prev parent reply other threads:[~2001-11-27 6:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-26 13:06 [PATCH] net/802/Makefile Olaf Hering
2001-11-26 13:24 ` Olaf Hering
2001-11-26 13:32 ` Christoph Hellwig
2001-11-26 13:54 ` Keith Owens
2001-11-26 16:56 ` Alan Cox
2001-11-26 15:13 ` Andreas Schwab
2001-11-26 17:14 ` Marcelo Tosatti
2001-11-26 19:20 ` David S. Miller
2001-11-26 19:35 ` Olaf Hering
2001-11-26 19:40 ` David S. Miller
2001-11-27 5:10 ` Tom Rini
2001-11-27 5:26 ` David S. Miller
2001-11-27 6:12 ` Keith Owens
2001-11-27 6:18 ` David S. Miller
2001-11-27 6:28 ` Keith Owens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12324.1006842496@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.