This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DTRACE_PROBE macro fails to compile with Clang++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]