Bug 7737 - lttng-modules: do_compile error on qemuarm64
Summary: lttng-modules: do_compile error on qemuarm64
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.9 M1
Assignee: Saul Wold
QA Contact: Cristina Agurida
URL:
Whiteboard: backport to fido
Depends on:
Blocks:
 
Reported: 2015-05-12 03:33 UTC by Robert Yang
Modified: 2015-06-05 08:44 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2015-05-12 03:33:38 UTC
DEBUG: Executing shell function do_compile
NOTE: make -j 32 -e MAKEFLAGS= KERNEL_SRC=/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source KERNEL_PATH=/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source KERNEL_VERSION=3.19.5-yocto-standard CC=aarch64-poky-linux-gcc   LD=aarch64-poky-linux-ld.bfd   AR=aarch64-poky-linux-ar  O=/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-build-artifacts
make -C /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source M=/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git modules
make[1]: Entering directory `/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source'
make[2]: Entering directory `/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-build-artifacts'
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-ring-buffer-client-discard.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-ring-buffer-client-overwrite.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-ring-buffer-metadata-client.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-ring-buffer-client-mmap-discard.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-ring-buffer-client-mmap-overwrite.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-ring-buffer-metadata-mmap-client.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-events.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-abi.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-probes.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-pid.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-procname.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-prio.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-nice.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-vpid.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-tid.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-vtid.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-ppid.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-vppid.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-calibrate.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-hostname.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/wrapper/random.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/wrapper/trace-clock.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-syscalls.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-user.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-context-perf-counters.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-tracepoint.o
  LD [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-tracer.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-statedump-impl.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/wrapper/irqdesc.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/wrapper/fdtable.o
  LD [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lttng-statedump.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/ringbuffer/ring_buffer_backend.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/ringbuffer/ring_buffer_frontend.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/ringbuffer/ring_buffer_iterator.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/ringbuffer/ring_buffer_vfs.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/ringbuffer/ring_buffer_splice.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/ringbuffer/ring_buffer_mmap.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/prio_heap/lttng_prio_heap.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/../wrapper/splice.o
  LD [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/lib/lttng-lib-ring-buffer.o
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/Makefile:214: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem.
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-types.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-sched.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-irq.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-timer.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-kmem.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-module.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-power.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-statedump.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-signal.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-block.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-napi.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-skb.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-net.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-sock.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-udp.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-ext3.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-gpio.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-jbd2.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-jbd.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-vmscan.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-btrfs.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-compaction.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-ext4.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-printk.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-random.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-rcu.o
  CC [M]  /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.o
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_reg_write'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:44:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_write,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_reg_write' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:39:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_reg, regmap_reg_write,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_reg_read'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:53:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_reg_read' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:48:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_reg, regmap_reg_read,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_reg_read_cache'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:63:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read_cache,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_reg_read_cache' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:57:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_reg, regmap_reg_read_cache,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_hw_read_start'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:96:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_start,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_hw_read_start' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:89:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_block, regmap_hw_read_start,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_hw_read_done'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:103:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_done,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_hw_read_done' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:96:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_block, regmap_hw_read_done,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_hw_write_start'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:110:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_start,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_hw_write_start' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:103:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_block, regmap_hw_write_start,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_hw_write_done'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:117:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_done,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_hw_write_done' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:110:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_block, regmap_hw_write_done,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regcache_sync'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:47:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:107:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
  LTTNG_TRACEPOINT_EVENT_MAP(name, name,    \
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:124:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
 LTTNG_TRACEPOINT_EVENT(regcache_sync,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regcache_sync' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:459:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:117:1: note: in expansion of macro 'TRACE_EVENT'
 TRACE_EVENT(regcache_sync,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_cache_only'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:168:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_only,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_cache_only' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:161:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_bool, regmap_cache_only,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/regmap.h:188,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:41:
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6: error: conflicting types for 'trace_regmap_cache_bypass'
 void trace_##_name(_proto);
      ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:135:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/regmap.h:176:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE'
 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_bypass,
 ^
In file included from /buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:8:0,
                 from /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.c:32:
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:169:21: note: previous definition of 'trace_regmap_cache_bypass' was here
  static inline void trace_##name(proto)    \
                     ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:325:3: note: in expansion of macro '__DECLARE_TRACE'
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/linux/tracepoint.h:448:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source/include/trace/events/regmap.h:169:1: note: in expansion of macro 'DEFINE_EVENT'
 DEFINE_EVENT(regmap_bool, regmap_cache_bypass,
 ^
make[4]: *** [/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes/lttng-probe-regmap.o] Error 1
make[3]: *** [/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git/probes] Error 2
make[2]: *** [_module_/buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/git] Error 2
make[2]: Leaving directory `/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-build-artifacts'
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/buildarea/lyang1/testaa64/tmp/work-shared/qemuarm64/kernel-source'
make: *** [default] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /buildarea/lyang1/testaa64/tmp/work/qemuarm64-poky-linux/lttng-modules/2.6.0-r0/temp/log.do_compile.15671)
Comment 1 Robert Yang 2015-05-12 03:34:39 UTC
Reproduce:

MACHINE = "qemuarm64"

$ bitbake lttng-modules
Comment 3 Cristina Agurida 2015-06-05 08:44:11 UTC
Verified on master: fcc67ae90feeceee204bdb36e45eacf8d056779a