The current openvz-sources contain a kernel typo which causes compilation to fail under certain circumstances: AS arch/x86/kernel/entry_64.o /tmp/cc135JoV.s: Assembler messages: /tmp/cc135JoV.s: Error: .size expression for do_hypervisor_callback does not evaluate to a constant make[3]: *** [arch/x86/kernel/entry_64.o] Error 1 make[2]: *** [arch/x86/kernel] Error 2 make[1]: *** [arch/x86] Error 2 make: *** [sub-make] Error 2 make: Leaving directory `/usr/src/linux-2.6.32-openvz-039.3' This can be fixed by a small change to source/arch/x86/kernel/entry_64.S as mentioned here: http://comments.gmane.org/gmane.linux.kernel.stable/6157 Reproducible: Always Steps to Reproduce: 1. enable XEN in kernel config 2. make 3. observe compilation error
Created attachment 292017 [details, diff] entry_64.S patch patch to solve compilation error
*bump* I have this problem in current version openvz-sources.
Fixed in openvz-sources-2.6.32.39.11. Thank you guys.