Armin,

From: akuster808 [mailto:[email protected]]
Sent: Friday, March 23, 2018 10:34 PM
To: Tan, Raymond <[email protected]>; [email protected]; 
[email protected]
Cc: [email protected]
Subject: Re: [poky] lttng-modules build error on linux-yocto-4.4 with KVM on 
[rocko] branch


Ray,

On 03/23/2018 05:10 AM, Tan, Raymond wrote:
Dear Maintainers,

I'm building the image core-image-sato-sdk on ROCKO branch with the poky, 
meta-virtualization and meta-intel.

When I enabled virtualization and kvm,

DISTRO_FEATURES_append = " virtualization"
DISTRO_FEATURES_append = " kvm"

PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "4.4%"

I get the error as follow :

....
                 from 
/home/rahul/raymond/workingdir/pyro/build/tmp/work/intel_corei7_64-poky-linux/lttng-modules/2.9.5-r0/lttng-modules-2.9.5/probes/lttng-probe-kvm.c:42:
/home/rahul/raymond/workingdir/pyro/build/tmp/work/intel_corei7_64-poky-linux/lttng-modules/2.9.5-r0/lttng-modules-2.9.5/probes/../probes/lttng-tracepoint-event-impl.h:142:6:
 error: conflicting types for 'trace_kvm_mmio'
void trace_##_name(_proto);
      ^
/home/rahul/raymond/workingdir/pyro/build/tmp/work/intel_corei7_64-poky-linux/lttng-modules/2.9.5-r0/lttng-modules-2.9.5/probes/../probes/lttng-tracepoint-event-impl.h:54:2:
 note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), 
PARAMS(args))
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.....

Checking online, same issue was reported with the lttng-modules 2.9.5 on kernel 
4.9 as well, albeit in different project 
https://jira.automotivelinux.org/browse/SPEC-1302

With the proposed solution in the AGL thread, updating lttng-modules to 2.10.5 
does fix this issue, since 2.10.5 is upstreamed into master-branch, will this 
version be patched to ROCKO as well?

Can you try
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=stable/rocko-next

to verify the backport fixes your problem

Thanks, the latest build swapping poky with this repo & branch compiled 
successfully.
Sorry for the delay, a pretty old build machine I'm using.

- armin


/Ray



-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to