`

size expression for do_hypervisor_callback does not evaluate to a constant

 
阅读更多

 

2.6.35内核编译:

  AS      arch/x86/kernel/entry_64.o

/tmp/ccINj1Ii.s: Assembler messages:
/tmp/ccINj1Ii.s: Error: .size expression for do_hypervisor_callback does not evaluate to a constant
make[2]: *** [arch/x86/kernel/entry_64.o] 错误 1
make[1]: *** [arch/x86/kernel] 错误 2

make: *** [arch/x86] 错误 2

论坛,我的解决方式是:END(do_hypervisor_callback)改为END(xen_do_hypervisor_callback)

 

./arch/x86/kernel/entry_64.S:1216:zeroentry xen_hypervisor_callback xen_do_hypervisor_callback

./arch/x86/kernel/entry_64.S:1231:ENTRY(xen_do_hypervisor_callback)   # do_hypervisor_callback(struct *pt_regs)

./arch/x86/kernel/entry_64.S:1251:END(do_hypervisor_callback)

 

 

我改的是 ./arch/x86/kernel/entry_64.S:1251:END(do_hypervisor_callback)

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics