Wind River Support Network

HomeDefectsOVP-235
Not to be fixed

OVP-235 : kvm-kmod: failed to build with ovp host

Created: May 20, 2013    Updated: Mar 11, 2016
Resolved Date: May 6, 2014
Found In Version: 5.0.1
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

ERROR: Function failed: do_compile (see /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/temp/do_compile/log.do_compile.772 for further information)
ERROR: Logfile of failure stored in: /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/temp/do_compile/log.do_compile.772
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 10 -e MAKEFLAGS= KERNEL_PATH=/home/lyang001/host/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel KERNEL_SRC=/home/lyang001/host/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel KERNEL_VERSION=3.4.34-ovp1-rt40-WR5.0.1.0_preempt-rt CC=i686-wrs-linux-gnu-gcc   LD=i686-wrs-linux-gnu-ld   AR=i686-wrs-linux-gnu-ar
| make -C /home/lyang001/host/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel M=`pwd` \
| 		LINUXINCLUDE="-I`pwd`/include -Iinclude \
| 			 -Iarch/x86/include \
| 			-Iarch/x86/include/generated \
| 			-I`pwd`/include-compat -I`pwd`/x86 \
| 			-include  include/generated/autoconf.h \
| 			-include `pwd`/x86/external-module-compat.h" \
| 		"$@"
| make[1]: Entering directory `/home/lyang001/host/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel'
|   LD      /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/x86/built-in.o
|   CC [M]  /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/x86/svm.o
| In file included from /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/x86/svm.c:51:0:
| /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/include/linux/kvm_host.h: In function 'kvm_guest_enter':
| /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/include/linux/kvm_host.h:678:2: error: implicit declaration of function 'account_system_vtime' [-Werror=implicit-function-declaration]
| cc1: some warnings being treated as errors
| make[3]: *** [/home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/x86/svm.o] Error 1
| make[2]: *** [/home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4/x86] Error 2
| make[1]: *** [_module_/home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/kvm-kmod-3.4] Error 2
| make[1]: Leaving directory `/home/lyang001/host/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (see /home/lyang001/host/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/kvm-kmod-3.4-r1/temp/do_compile/log.do_compile.772 for further information)
ERROR: Task 8 (/home/lyang001/host/layers/wr-kernel/recipes-kernel/kvm-kmod/kvm-kmod_3.4.bb, do_compile) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: linux-windriver-3.4-r1 do_package (pid 22759)

Steps to Reproduce

build ovp host with "feature/kvm-kmod"
Live chat
Online