Re: Kbuild + Cross compiling

From: Dan Merillat
Date: Fri May 05 2006 - 02:30:15 EST


On 5/5/06, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
kbuild checks for any differences in the commandline alos - so a rebuild
happens if you change options to gcc (think -O2 => -Os).
If you experience that for example mm/slab.c is rebuild then try to
do the following:
cp mm/.slab.o.cmd foo
make mm/
diff -u foo mm/.slab.o.cmd

If diff detects any difference then you know why and need to find out
why there is a difference.

Nothing, even md5sums match.
2abfcbee132335ba8e1da120569abf67 .do_mounts.o.cmd
2abfcbee132335ba8e1da120569abf67 .do_mounts.o.cmd.1

but it gets rebuilt every time.

Btw. what make version and what kernel version are you compiling?
There was some inconsistency in kbuild that triggered with make 3.81-rc1
and which will trigger with make 3.82-cvs also.
This issue was only fixed lately - recall it was for 2.6.16

2.6.15, but make 3.80. Is that the same problem?

I havn't developed on i386 lately so I don't know if it's only a
cross-compile issue.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/