Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8476] New: [lttng] Version 2.6.0 unusable with kernel v4.0.0
@ 2015-11-25 16:22 bugzilla at busybox.net
  2015-11-25 16:28 ` [Buildroot] [Bug 8476] " bugzilla at busybox.net
  2015-11-29 23:02 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-11-25 16:22 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8476

           Summary: [lttng] Version 2.6.0 unusable with kernel v4.0.0
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Outdated package
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: baronju at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Generating a build using buildroot with linux kernel v4.0.0 and lttng packages
generates the following error :

  CC [M] 
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-block.o
In file included from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
                 from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/kmem.h:380,
                 from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-kmem.c:42:
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6:
error: conflicting types for ?trace_mm_page_alloc_extfrag?
 void trace_##_name(_proto);
      ^
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/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))
  ^
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/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,    \
  ^
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/kmem.h:291:1:
note: in expansion of macro ?LTTNG_TRACEPOINT_EVENT?
 LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag,
 ^
In file included from include/trace/events/kmem.h:8:0,
                 from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-kmem.c:31:
include/linux/tracepoint.h:169:21: note: previous definition of
?trace_mm_page_alloc_extfrag? was here
  static inline void trace_##name(proto)    \
                     ^
include/linux/tracepoint.h:325:3: note: in expansion of macro ?__DECLARE_TRACE?
   __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
   ^
include/linux/tracepoint.h:459:2: note: in expansion of macro ?DECLARE_TRACE?
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^
include/trace/events/kmem.h:267:1: note: in expansion of macro ?TRACE_EVENT?
 TRACE_EVENT(mm_page_alloc_extfrag,
 ^
make[4]: ***
[/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-kmem.o]
Error 1

It seems that lttng v2.6.0 does not work with "recent" kernel version. Using
lttng-modules 2.6.4, lttng-ust 2.6.4 and lttng-tools 2.6.1 seems to solve the
problem.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 8476] [lttng] Version 2.6.0 unusable with kernel v4.0.0
  2015-11-25 16:22 [Buildroot] [Bug 8476] New: [lttng] Version 2.6.0 unusable with kernel v4.0.0 bugzilla at busybox.net
@ 2015-11-25 16:28 ` bugzilla at busybox.net
  2015-11-29 23:02 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-11-25 16:28 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8476

--- Comment #1 from Vicente Olivert Riera <vincent.riera@imgtec.com> 2015-11-25 16:28:31 UTC ---
I guess we could update lttng-{libust,modules,tools} to the 2.7.0 version.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 8476] [lttng] Version 2.6.0 unusable with kernel v4.0.0
  2015-11-25 16:22 [Buildroot] [Bug 8476] New: [lttng] Version 2.6.0 unusable with kernel v4.0.0 bugzilla at busybox.net
  2015-11-25 16:28 ` [Buildroot] [Bug 8476] " bugzilla at busybox.net
@ 2015-11-29 23:02 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 23:02 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8476

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-11-29 23:02:29 UTC ---
This is fixed by
http://git.buildroot.net/buildroot/commit/?h=next&id=c2be38b9e3bee22129b9da160a8d131ce4e1efac,
which will be part of the 2016.02 release. It was too late for this version
bump to be part of 2015.11.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-29 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25 16:22 [Buildroot] [Bug 8476] New: [lttng] Version 2.6.0 unusable with kernel v4.0.0 bugzilla at busybox.net
2015-11-25 16:28 ` [Buildroot] [Bug 8476] " bugzilla at busybox.net
2015-11-29 23:02 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox