0
点赞
收藏
分享

微信扫一扫

size expression for do_hypervisor_callback does not evaluate to a constant

Brose 2023-04-23 阅读 42


 

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)

 

 

举报

相关推荐

0 条评论