|
From: Julian S. <js...@ac...> - 2011-09-05 20:36:12
|
> The full callchain on s390 is something like > pthread_create-->do_clone-->clone instead of pthread_create-->clone. > As you can see, newer version of gcc even create multiple clones of > do_clone (for partial inlining etc). the cleanest solution seems to me > to change the --num-callers=3 in the vgtest to --num-callers=1. > Otherwise I have to add at least 2 expect files to these tests. > > Opinions? I can't see any alternative to adding more expect files. If the differences in stack traces were in hg_intercepts.c then we might be able to throw in some __attribute__((noinline)) directives, to make the stack traces more consistent. But the differences are in libpthread itself, so that doesn't help. <somewhat obvious observation> If gcc is doing partial inlining now (which version, btw?) then this is going to be a general problem, not just an s390-specific one. </somewhat obvious observation> J |