lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
To: Gerlando Falauto <gerlando.falauto@keymile.com>
Cc: loody <miloody@gmail.com>, gcc-help <gcc-help@gcc.gnu.org>,
	lttng-dev@lists.lttng.org
Subject: Re: [lttng-dev] compile lttng get gcc compile error
Date: Wed, 14 May 2014 19:56:29 +0000 (UTC)	[thread overview]
Message-ID: <1169713105.17721.1400097389080.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <53738341.4030706@keymile.com>

----- Original Message -----
> From: "Gerlando Falauto" <gerlando.falauto@keymile.com>
> To: "loody" <miloody@gmail.com>
> Cc: "gcc-help" <gcc-help@gcc.gnu.org>, lttng-dev@lists.lttng.org
> Sent: Wednesday, May 14, 2014 10:52:49 AM
> Subject: Re: [lttng-dev] compile lttng get gcc compile error
> 
> Hi loody,
> [originally posted to gcc-help, cross-posting to lttng-dev]
> 
> On 03/27/2014 01:37 PM, loody wrote:
> > hi Jonathan:
> >
> > 2014-03-27 18:43 GMT+08:00 Jonathan Wakely <jwakely.gcc@gmail.com>:
> >> On 27 March 2014 10:32, loody wrote:
> >>> hi all
> >>> when I try to cross-compile lttng-tool for arm.
> >>> I get below message
> >>>
> >>>    CC     kernel-consumer.lo
> >>> kernel-consumer.c: In function 'lttng_kconsumer_snapshot_channel':
> >>> kernel-consumer.c:324:1: internal compiler error: in gen_movsi, at
> >>> config/arm/arm.md:5680
> >>>
> >>> my gcc version is 4.7.4
> >>
> >> I think this is http://gcc.gnu.org/PR58595 which will be fixed in GCC
> >> 4.9.0
> > is there any patch I can use to fix this issue before waiting 4.9.0
> > release?
> > or is there method I can avoid this compile happen if I rewrite the source?
> >
> > thanks a lot,
> >
> 
> Did you ever find a workaround for such an issue? Perhaps by refactoring
> the code within lttng_kconsumer_snapshot_channel()?

A similar issue was experienced due to a gcc ARM bug. It only triggered
in O2 on specific gcc versions. I updated http://bugs.lttng.org/issues/640
with a suggested work around: compile lttng-tools in O1 if you cannot get
a fixed compiler.

Thanks,

Mathieu

> 
> Thank you!
> Gerlando
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 

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

      reply	other threads:[~2014-05-14 19:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANudz+u_d54BtB9Fk3Vdtb8B7im_WMbK20jg_zUGeJ3wEPECMg@mail.gmail.com>
     [not found] ` <CAH6eHdSvfWjiZCLUNHaftnwjp_L56uSPwA=hTHpLAwiPhunfsA@mail.gmail.com>
     [not found]   ` <CANudz+tzfc0cjBh=7Jm4TPvm7h33oyPaZdVGBjeuOrzgM8gimQ@mail.gmail.com>
2014-05-14 14:52     ` compile lttng get gcc compile error Gerlando Falauto
2014-05-14 19:56       ` 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=1169713105.17721.1400097389080.JavaMail.zimbra@efficios.com \
    --to=mathieu.desnoyers@efficios.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gerlando.falauto@keymile.com \
    --cc=lttng-dev@lists.lttng.org \
    --cc=miloody@gmail.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;
as well as URLs for NNTP newsgroup(s).