Commit:     cf87dcd14064e7660f2b11b35b9e4949e9812fd2
Parent:     e06b8b98da071f7dd78fb7822991694288047df0
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 13 22:50:24 2008 +0100
Committer:  Sam Ravnborg <[EMAIL PROTECTED]>
CommitDate: Thu Feb 14 23:33:25 2008 +0100

    kbuild: fix building vmlinux.o
    Ingo Molnar wrote:
    > i've got a build log from a weird build error below:
    >   LD      init/built-in.o
    > distcc[12023] ERROR: compile (null) on localhost failed
    > make: *** [vmlinux.o] Error 1
    > make: *** Waiting for unfinished jobs....
    >   LD      .tmp_vmlinux1
    Building vmlinux.o were moved up in the dependency chain so we started
    to build it before the kallsym stuff. This was done to let modpost
    report section mismatch bugs even when the final link failed.
    Originally I had expected the dependency of $(kallsyms.o) to
    cover this but it turns out that we need to be even more explicit.
    Fix this by adding a conditional dependency on firat target
    used in the kallsyms serie of builds.
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Ingo Molnar <[EMAIL PROTECTED]>
    Cc: Roland McGrath <[EMAIL PROTECTED]>
 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index d738651..0d585c0 100644
--- a/Makefile
+++ b/Makefile
@@ -811,7 +811,9 @@ endif
        $(Q)rm -f .old_version
 # build vmlinux.o first to catch section mismatch errors early
-$(kallsyms.o): vmlinux.o
+.tmp_vmlinux1: vmlinux.o
 vmlinux.o: $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) FORCE
        $(call if_changed_rule,vmlinux-modpost)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to