fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
<jhg_> having some difficulty building systemtap on x86 (32 bit) linux 3.13.11, gcc 4.6.3.
<jhg_> should I download and compile gcc 4.7 or 4.8? would clang 3.4 work?
<fche> jhg_, for recent systemtap, c++11 is needed
<fche> try a newer gcc
<fche> we haven't tried llvm, might work
orivej has quit [Ping timeout: 244 seconds]
<jhg_> I can't seem to find where /usr/include/dwarf.h comes from
<jhg_> for DW_OP_GNU_parameter_ref
<jhg_> apt-file find /usr/include/dwarf.h
<jhg_> libdwarf-dev: /usr/include/dwarf.h
<jhg_> libdw-dev: /usr/include/dwarf.h
<jhg_> and those are part of elfutils... but the launchpad project does not appear to have it.
<mjw> libdw-dev is part of elfutils
<mjw> libdwarf is its own thing
<mjw> you want elfutils/libdw
<jhg_> it should be in this launchpad elfutils... * Fri Aug 24 2012 Mark Wielaard <mjw@redhat.com> 0.155-1
<mjw> that is me :)
<mjw> and that is a fairly old elfutils version
<jhg_> ohai =)
<jhg_> right, as of 0.155
<jhg_> I downloaded and built latest stable on launchpad... 0.170.4
<jhg_> elfutils-0.170$ grep -r ‘DW_OP_GNU_parameter_ref’ .
<jhg_> ^ comes up empty
<mjw> yes, 0.155 is the first version that has DW_OP_GNU_parameter_ref
<mjw> BTW 0.174 is the latest
<mjw> I don't know what launchpad.net is
<mjw> elfutils.org or sourceware.org/elfutils is upstream
<jhg_> git clone git://sourceware.org/git/elfutils.git
<jhg_> still no DW_OP_GNU_parameter_ref in dwarf.h
<mjw> It is certainly there
<mjw> libdw/dwarf.h: DW_OP_GNU_parameter_ref = 0xfa,
<jhg_> right
<jhg_> wth
<jhg_> I think I have a hidden UTF character or something
<mjw> sorry, I do need a bit of sleep. I hope you figure out what is wrong.
<jhg_> I see it
<jhg_> thank you mjw
<jhg_> good night!
mjw has quit [Quit: Leaving]
<jhg_> it was the special single quotes
<jhg_> almost there...
_whitelogger has joined #systemtap
orivej has joined #systemtap
_whitelogger has joined #systemtap
orivej has quit [Ping timeout: 244 seconds]
gila has quit [Ping timeout: 244 seconds]
orivej has joined #systemtap
<agentzh> fche: it'll be great if you can have a look at this PR: https://sourceware.org/bugzilla/show_bug.cgi?id=23666
<fche> good find agentzh
<fche> probably the fix is in the vicinity of elaborate.cxx stat_decl_collector class
<fche> there is a visit_stat_op function that collects the various @OP refs against a statistics object, and sets the .stat_ops |= ..
<fche> I bet all we need is to also have a visit_foreach_loop() and extract the sorting criteria, and add the corresponding STAT_OP_X flags to the mix
<fche> does that make sense?
<agentzh> fche: yeah, it makes sense. i just prepared a patch.
<fche> that was quick
<agentzh> thanks.
<agentzh> it seems to pass my tests.
<agentzh> i'll send it.
<agentzh> (for review)