From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] lttng-modules build error against linux 3.18.x longterm kernels
Date: Thu, 23 Apr 2015 21:29:48 +0000 (UTC) [thread overview]
Message-ID: <36268991.35303.1429824588031.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <CAEYzJUGL6Q_o=zESuhhszBKGUCYrTwxBp32xppicQLZa6a4nVg@mail.gmail.com>
----- 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
prev parent reply other threads:[~2015-04-23 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAEYzJUH27pYhSZmFEeaCQ7deeH75+GhjrVjdGN6dnyG+DyQhXA@mail.gmail.com>
2015-04-12 13:55 ` Bjørn Forsman
2015-04-23 21:29 ` Mathieu Desnoyers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36268991.35303.1429824588031.JavaMail.zimbra@efficios.com \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox