Wind River Support Network

HomeDefectsLIN10-4653
Fixed

LIN10-4653 : Compiling error of package lttng-modules_2.10.5 on qemux86&qemux86-64

Created: Sep 4, 2018    Updated: Dec 3, 2018
Resolved Date: Sep 11, 2018
Found In Version: 10.17.41.11,10.17.41.12
Fix Version: 10.17.41.12
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

Error log on qemux86
====
......
/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/../probes/lttng-tracepoint-event-impl.h:96:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
|   LTTNG_TRACEPOINT_EVENT_MAP(name, name,    \
|   ^~~~~~~~~~~~~~~~~~~~~~~~~~
| /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/../instrumentation/events/lttng-module/kvm.h:96:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
|  LTTNG_TRACEPOINT_EVENT(kvm_mmio,
|  ^~~~~~~~~~~~~~~~~~~~~~
| In file included from /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/arch/x86/include/asm/kvm_host.h:17:0,
|                  from /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/include/linux/kvm_host.h:37,
|                  from /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-kvm.c:24:
| /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/include/linux/tracepoint.h:186:21: note: previous definition of 'trace_kvm_mmio' was here
|   static inline void trace_##name(proto)    \
|                      ^
| /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/include/linux/tracepoint.h:351:2: note: in expansion of macro '__DECLARE_TRACE'
|   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),  \
|   ^~~~~~~~~~~~~~~
| /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/include/linux/tracepoint.h:487:2: note: in expansion of macro 'DECLARE_TRACE'
|   DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
|   ^~~~~~~~~~~~~
| /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/include/trace/events/kvm.h:210:1: note: in expansion of macro 'TRACE_EVENT'
|  TRACE_EVENT(kvm_mmio,
|  ^~~~~~~~~~~
|   CC [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-vmscan.o
|   CC [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-btrfs.o
|   LD [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/lib/lttng-lib-ring-buffer.o
| make[4]: *** [/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/scripts/Makefile.build:308: /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-kvm.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| make[3]: *** [/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/scripts/Makefile.build:561: /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes] Error 2
| make[3]: *** Waiting for unfinished jobs....
| make[2]: *** [/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:1516: _module_/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5] Error 2
| make[2]: Leaving directory '/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-build-artifacts'
| make[1]: *** [Makefile:152: sub-make] Error 2
| make[1]: Leaving directory '/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86/kernel-source'
| make: *** [Makefile:111: modules] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/build/tmp-glibc/work/qemux86-wrs-linux/lttng-modules/2.10.5-r0/temp/log.do_compile.40208)
NOTE: recipe lttng-modules-2.10.5-r0: task do_compile: Failed
ERROR: Task (/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09041609-build_default_image_feature_list8/qemux86-standard-glibc-std-OE/layers/oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb:do_compile) failed with exit code '1'
====
and log on qemux86-64
====
....
/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/tracepoint.h:487:2: note: in expansion of macro 'DECLARE_TRACE'
|   DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
|   ^~~~~~~~~~~~~
| /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-source/include/trace/events/kvm.h:210:1: note: in expansion of macro 'TRACE_EVENT'
|  TRACE_EVENT(kvm_mmio,
|  ^~~~~~~~~~~
|   CC [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-scsi.o
|   CC [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-vmscan.o
|   CC [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-btrfs.o
| make[4]: *** [/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-source/scripts/Makefile.build:308: /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes/lttng-probe-kvm.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
|   LD [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/lttng-statedump.o
|   LD [M]  /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/lib/lttng-lib-ring-buffer.o
| make[3]: *** [/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-source/scripts/Makefile.build:561: /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5/probes] Error 2
| make[3]: *** Waiting for unfinished jobs....
| make[2]: *** [/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-source/Makefile:1516: _module_/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/lttng-modules-2.10.5] Error 2
| make[2]: Leaving directory '/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'
| ERROR: oe_runmake failed
| make[1]: *** [Makefile:152: sub-make] Error 2
| make[1]: Leaving directory '/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work-shared/qemux86-64/kernel-source'
| make: *** [Makefile:111: modules] Error 2
| WARNING: /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/temp/run.do_compile.157586:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/lttng-modules/2.10.5-r0/temp/log.do_compile.157586)
NOTE: recipe lttng-modules-2.10.5-r0: task do_compile: Failed
ERROR: Task (/buildarea1/WRL10_Regression/build_dir/buildsystem/hdc/qemu_boot/09050027-build_default_image_feature_list8/qemux86-64-standard-glibc-std-OE/layers/oe-core/meta/recipes-kernel/lttng/lttng-modules_2.10.5.bb:do_compile) failed with exit code '1'
====

Steps to Reproduce

$ setup.sh --machines=qemux86/qemux86-64 --dl-layers --accept-eula=yes --dl-layers --templates feature/kvm feature/ldconfig feature/libhugetlbfs feature/lttng && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build

Other Downloads


Live chat
Online