Re: Linux 2.6.30.2: does not boot

From: Stephen Rothwell
Date: Mon Jul 20 2009 - 20:14:15 EST


On Mon, 20 Jul 2009 11:16:17 -0700 (PDT) Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Why? Many distro's use ccache, and so you may actually get a cached object
> file from a previous compile (with a previous compiler). Now, ccache is
> pretty good at noticing when things change, and I can well imagine that it
> also checks the compiler version (in addition to checking the hash of the
> preprocessed output and build flags etc), but I haven't double-checked.
>
> So to make doubly sure that you really don't end up using cached object
> files, you might want to run "ccache -C".

ccache includes, in the hash of the preprocessed file, "the real compilers
size and modification time", so will probably notice an upgrade or
downgrade of the compiler.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature