Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Roland McGrath
> What I was more worried about was what happens when sdt.h is included in > plain C code. Whatever you think of C++ apps that don't play nice with > , such a complaint is unlikely to impress authors of plain C > apps. The only header used by in C is . (Frankly I can't tell any more why we even

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Josh Stone
On 01/19/2011 02:20 PM, Tom Lane wrote: > f...@redhat.com (Frank Ch. Eigler) writes: >> I agree. It's not a great situation, but local GCC/C++ experts have >> found no better way to type-analyze the parameters, to ensure their >> safe passage to the tool. (Our testing shows is not >> offensive t

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Tom Lane
f...@redhat.com (Frank Ch. Eigler) writes: > tgl wrote: >> [...] I think the only near-term fix is to turn off dtrace support >> in mysql. [...] > We'll do one better; we'll add a hack to sys/sdt.h to make mysql build > and respin systemtap today or tomorrow. Actually, I had just decided that S

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Jakub Jelinek
On Wed, Jan 19, 2011 at 04:49:04PM -0500, Frank Ch. Eigler wrote: > > tgl wrote: > > > [...] I think the only near-term fix is to turn off dtrace support > > in mysql. [...] > > We'll do one better; we'll add a hack to sys/sdt.h to make mysql build > and respin systemtap today or tomorrow. >

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Frank Ch. Eigler
tgl wrote: > [...] I think the only near-term fix is to turn off dtrace support > in mysql. [...] We'll do one better; we'll add a hack to sys/sdt.h to make mysql build and respin systemtap today or tomorrow. > But the real issue here is that systemtap has got to be more chary of > what they

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Tom Lane
Mark Wielaard writes: > On Wed, 2011-01-19 at 10:48 -0500, Stan Cox wrote: >> mysql defines min and max to be macros in my_global.h which conflicts >> with the definition of max and min in numeric_limits in . >> This use of max and min is described in the WG14 c++ standard under >> 18.3.1 Numeric

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Jakub Jelinek
On Wed, Jan 19, 2011 at 03:52:24PM +, Mark Wielaard wrote: > Dan Horák danny.cz> writes: > > there is some clash in min/max macros/functions, but I've not done any > > detailed investigation yet, Tom has been notified. > > I asked Stan Cox, who said he was using the following workaround: I g

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-19 Thread Mark Wielaard
Dan Horák danny.cz> writes: > there is some clash in min/max macros/functions, but I've not done any > detailed investigation yet, Tom has been notified. I asked Stan Cox, who said he was using the following workaround: On Wed, 2011-01-19 at 10:48 -0500, Stan Cox wrote: > mysql defines min and m

Re: heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-18 Thread Dan Horák
Frank Ch. Eigler píše v Út 18. 01. 2011 v 12:22 -0500: > Hi - > > FYI, rawhide received a new build of systemtap-1.4 yesterday. (f13 > and f14 may get it too, subject to update policy & interest). Beyond > its direct users, it affects those packages that build with the > markers. A subsequent

heads-up: systemtap-sdt-devel rebase in rawhide

2011-01-18 Thread Frank Ch. Eigler
Hi - FYI, rawhide received a new build of systemtap-1.4 yesterday. (f13 and f14 may get it too, subject to update policy & interest). Beyond its direct users, it affects those packages that build with the markers. A subsequent rebuild of these will switch to the new implementation. It should