RFC: add some static probes to libstdc++

Marc Glisse marc.glisse@inria.fr
Tue Apr 2 15:40:00 GMT 2013


On Tue, 2 Apr 2013, Jonathan Wakely wrote:

> On 15 March 2013 08:55, Jakub Jelinek <jakub@redhat.com> wrote:
>> On Thu, Feb 28, 2013 at 08:32:02AM -0700, Tom Tromey wrote:
>>> 2013-02-27  Tom Tromey  <tromey@redhat.com>
>>>
>>>       * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
>>>       (PROBE2): New macro.
>>>       * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
>>>       * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
>>>       * configure.ac: Check for sys/sdt.h.
>>>       * configure, config.h.in: Rebuild.
>>
>> This is ok.  As we are close to 4.8.0-rc1, I went ahead and committed it for
>> you.
>>
>>         Jakub
>
> This change is causing a few problems, it looks as though older
> versions of Systemtap headers are incompatible with C++11 due to the
> UDL/whitespace issues described at
> http://gcc.gnu.org/gcc-4.7/porting_to.html
>
> e.g. http://gcc.gnu.org/ml/gcc-help/2013-04/msg00011.html
>
> Should we update the prerequisites documentation to say that if
> Systemtap is installed it needs to be at least version X?

I thought you were going to suggest enhancing the configure test so it 
fails on old systemtap (detects it as absent).

-- 
Marc Glisse



More information about the Libstdc++ mailing list