This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: sdt-types tests
> I think Stan cleaned up some of the logic -- were you using the latest
> version of the test at the time?
Yes, it was current git just before my commits. I was using:
make runcheck RUNTESTFLAGS='systemtap.base/sdt.exp systemtap.base/sdt_misc.exp'
> When I test on ac28289, I see V1/V2 are ok, and then failures in V3 like:
>
> FAIL: sdt_misc compiling types V3_uprobe
I got:
PASS: sdt_misc compiling types V3_uprobe
Just repeated with a clean build of ac28289 and runcheck as above.
> As I said above, I just tried this manually and pre-fix it seems to fail
> correctly. And sorry to say, with your new sdt.h, it still fails. If
> you want to bypass whatever oddities our testsuite may have, just try
> the thing directly:
Yeah, I was being lazy (and not installing it, too).
> > $ gcc testsuite/systemtap.base/sdt_types.c -c
> > testsuite/systemtap.base/sdt_types.c: In function main :
> > testsuite/systemtap.base/sdt_types.c:185:3: error: invalid use of undefined type struct opaque
> > testsuite/systemtap.base/sdt_types.c:185:3: error: invalid use of undefined type struct opaque
>
> That's an improvement - the old sdt.h gave four such errors. ;) But
> even the baby example given in PR12139 still fails in this way. This is
> on F14 x86_64, using gcc 4.5.1 20100924 (Red Hat 4.5.1-4).
Damn! I get that too with gcc-4.4.4-10.fc13.x86_64 (less column numbers!).
It works in C++, though--but two different cases barf now there. Sigh.
Back to the fiddling.
Thanks,
Roland