cappsule/nofear

kvmtool compiled with GCC 6 will fail

Closed this issue · 2 comments

To reproduce the bug:

Have GCC >= 6.2 by default (mine was gcc (Debian 6.2.1-5) 6.2.1 20161124)

./build.sh kvmtool
sudo ./install.sh
nofear -d default
nofear
# Fatal: Fail to setup /home/foo/.lkvm/default/virt/pre_init

When compiling with v6 there is zero extra warning compared to v5.

Thanks for the bug report, @doegox! I sent an email to the kvmtool mailing list (https://www.spinics.net/lists/kvm/msg143014.html) since the bug seems to be in kvmtool.

The commit 3a48ecd fixes this issue (and the patch has also been sent upstream).