On 2018-03-29 06:36, Qiu Shui wrote: > I build the armbian with these two patches to the kernel: > [1] > http://git.kiszka.org/?p=linux.git;a=commit;h=f057e9bb4ba2fca0b435d36893eb41ddd57b4208 > [2] > http://git.kiszka.org/?p=linux.git;a=commit;h=1c926e27072d4cca76a756058554485067ce472b > > But when I build jailhouse with the armbian kernel source files(version: > Linux orangepizero 4.16.0-rc6-sunxi #2 SMP Wed Mar 28 15:33:44 CST 2018 > armv7l GNU/Linux), I got these warnings: > WARNING: "__stack_chk_fail" > [/home/liu/project/kiszka/jailhouse-0.8/driver/jailhouse.ko] undefined! > WARNING: "__hyp_stub_vectors" > [/home/liu/project/kiszka/jailhouse-0.8/driver/jailhouse.ko] undefined! > WARNING: "__stack_chk_guard" > [/home/liu/project/kiszka/jailhouse-0.8/driver/jailhouse.ko] undefined! > > I have tried some google solutions but still not solved. > > Are there any suggestions?
Regarding __hyp_stub_vectors: you also need http://git.kiszka.org/?p=linux.git;a=commitdiff;h=2a681cb2213e3ea0f142fae7345fb80208a88a53 The other two issue seem to be related to some build inconsistency: Your kernel was built without CONFIG_CC_STACKPROTECTOR, but when you build the Jailhouse module, this feature is considered to be enabled. Jan -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
