public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mjw@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Martin Martin <martin@infinio.com>, systemtap@sourceware.org
Subject: Re: DTRACE_PROBE macro fails to compile with Clang++
Date: Wed, 11 Sep 2013 17:45:00 -0000	[thread overview]
Message-ID: <1378921514.6155.360.camel@bordewijk.wildebeest.org> (raw)
In-Reply-To: <20130911173835.GK2293@redhat.com>

On Wed, 2013-09-11 at 18:38 +0100, Daniel P. Berrange wrote:
> On Wed, Sep 11, 2013 at 01:32:15PM -0400, Martin Martin wrote:
> > The following code:
> > 
> > #include <sys/sdt.h>
> > 
> > int main() {
> >     DTRACE_PROBE(a, b);
> > }
> > 
> > compiles with with G++, but when compiled with clang++ 3.3 gives:
> 
> That's a known issue - there's some info (but no solution yet ) in this
> bug report too:
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=999419

Yeah, seems to be some unknown deficiency in clang (plus mixing two
system compilers on one system doesn't seem to be a good idea - the open
question seems to be whether clang can be configured to use the normal
gas assembler). See also
https://sourceware.org/bugzilla/show_bug.cgi?id=13974

Cheers,

Mark

      reply	other threads:[~2013-09-11 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-11 17:32 Martin Martin
2013-09-11 17:38 ` Daniel P. Berrange
2013-09-11 17:45   ` Mark Wielaard [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=1378921514.6155.360.camel@bordewijk.wildebeest.org \
    --to=mjw@redhat.com \
    --cc=berrange@redhat.com \
    --cc=martin@infinio.com \
    --cc=systemtap@sourceware.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).