This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFC: add some static probes to libstdc++
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Dave Korn <dave dot korn dot cygwin at gmail dot com>, libstdc <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 2 Apr 2013 16:19:33 +0100
- Subject: Re: RFC: add some static probes to libstdc++
- References: <87sj4hzap2 dot fsf at fleche dot redhat dot com> <512F4E5C dot 8050400 at gmail dot com> <87a9qozc7h dot fsf at fleche dot redhat dot com> <20130315085546 dot GK12913 at tucnak dot redhat dot com>
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?