[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.11] x86/boot: Fix build dependenices for reloc.c



commit 6af54f7ce3b2391ff9f93e0ee085cad9dd8471f7
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Mon Sep 23 14:32:53 2019 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Sep 23 14:32:53 2019 +0200

    x86/boot: Fix build dependenices for reloc.c
    
    c/s 201f852eaf added start_info.h and kconfig.h to reloc.c, but only updated
    start_info.h in RELOC_DEPS.
    
    This causes reloc.c to not be regenerated when Kconfig changes.  It is most
    noticeable when enabling CONFIG_PVH and finding the resulting binary crash
    early with:
    
      (d9) (XEN)
      (d9) (XEN) ****************************************
      (d9) (XEN) Panic on CPU 0:
      (d9) (XEN) Magic value is wrong: c2c2c2c2
      (d9) (XEN) ****************************************
      (d9) (XEN)
      (d9) (XEN) Reboot in five seconds...
      (XEN) d9v0 Triple fault - invoking HVM shutdown action 1
    
    Reported-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    master commit: 78c0000c87ce498bf621914c0554b83fac3ee00d
    master date: 2019-07-31 11:19:45 +0100
---
 xen/arch/x86/boot/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/xen/arch/x86/boot/Makefile b/xen/arch/x86/boot/Makefile
index e10388282f..9b31bfcbfb 100644
--- a/xen/arch/x86/boot/Makefile
+++ b/xen/arch/x86/boot/Makefile
@@ -4,7 +4,10 @@ DEFS_H_DEPS = defs.h $(BASEDIR)/include/xen/stdbool.h
 
 CMDLINE_DEPS = $(DEFS_H_DEPS) video.h
 
-RELOC_DEPS = $(DEFS_H_DEPS) $(BASEDIR)/include/xen/multiboot.h \
+RELOC_DEPS = $(DEFS_H_DEPS) \
+            $(BASEDIR)/include/generated/autoconf.h \
+            $(BASEDIR)/include/xen/kconfig.h \
+            $(BASEDIR)/include/xen/multiboot.h \
             $(BASEDIR)/include/xen/multiboot2.h \
             $(BASEDIR)/include/public/arch-x86/hvm/start_info.h
 
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.11

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.