[lttng-dev] lttng-modules build error against linux 3.18.x longterm kernels

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Apr 23 17:29:48 EDT 2015


----- Original Message -----
> On 26 March 2015 at 23:11, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> > Hi all,
> >
> > (I'm not subscribed, please CC me.)
> >
> > Build error snippet:
> >
> > [...]
> >  CC [M]
> >  /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/lttng-probe-irq.o
> >  CC [M]
> >  /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/lttng-probe-timer.o
> >  CC [M]
> >  /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/lttng-probe-kmem.o
> > In file included from
> > /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
> >                 from
> > /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/../instrumentation/events/lttng-module/kmem.h:466,
> >                 from
> > /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/lttng-probe-kmem.c:42:
> > /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6:
> > error: conflicting types for 'trace_mm_page_alloc_extfrag'
> > void trace_##_name(_proto);
> >      ^
> > /tmp/nix-build-lttng-modules-2.6.0-5-g1b2a542-3.18.10.drv-0/lttng-modules-1b2a542/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))
> > [...]
> >
> > Build results from the NixOS build server[1] (which contains full
> > logs) seems to indicate that this breakage started with the linux
> > 3.18.9 -> 3.18.10 transition. Simultaneously, lttng-modules was
> > updated 2.6.0-rc1 -> 2.6.0-5-g1b2a542 (latest on stable-2.6 branch),
> > but I guess/hope that's not the reason for the error :-)
> >
> > [1]:
> > http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.linuxPackages_3_18.lttng-modules.i686-linux
> 
> So apparantly this is fixed in master:
> http://lists.lttng.org/pipermail/lttng-dev/2015-April/024395.html
> 
> Are you planning to backport the fix to stable-2.6? And possibly make
> a release? (Speaking as a distro packager here.)

It appears to be already backported to stable-2.6 (builds fine here
against 3.18.10).

I'd very much like to do a release, but I'm currently awaiting
feedback from Debian about an incompatible change they slipped
into their 3.16.7-ckt9-2 distro kernel, for which I don't have the info
to distinguish between upstream 3.16.7 and Debian 3.16.7.

Once we get this resolved, I'll look into doing a release.

Thanks!

Mathieu

> 
> Best regards,
> Bjørn Forsman
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list