[Ltrace-devel] current make check failures
Steve Fink
sphink at gmail.com
Mon Sep 18 19:04:25 UTC 2006
On 9/14/06, Olaf Hering <olh at suse.de> wrote:
>
> The current trunk gives these make check failures in openSuSE 10.2 beta.
> ltrace -x does not work, on ppc64 at least.
ia64 is broken too.
FAIL: func_intptr_ret(42) in ./ltrace.main/parameters.ltrace for 0 times
> ,should be 1
I see you have this failure on powerpc-suse-linux-gnu. On ia64, the fix for
that was in gimme_arg when reading parameters after the function had been
returned. It was assuming that the register renaming state was the same
during and after a function call. Does PPC do something similar?
An alternative fix would be to remember the parameter values while still
inside the function call.
FAIL: func_strlen(\"Hello world\") *= *11 in ./ltrace.main/parameters.ltrace
> for 0 times ,should be 1
Same problem.
FAIL: func_float(3.40*, -3.40*) in ./ltrace.main/parameters.ltrace for 0
> times ,should be 1
On ia64, this was due to floating point parameters being passed in FP
registers. The patch I just posted will not fix the PPC problem, but
something similar might be needed.
FAIL: func_struct({ 89, 2, 3, . { 1, 10 }, { 3, 30 } ., . { 4, 40 }, { 5, 50
> }, { 6, 60 } ., \"123\" }) in ./ltrace.main/parameters.ltrace for 0 times
> ,should be 1
I was not handling alignment properly in several cases. My recent patch may
fix this one.
FAIL: func_intptr(17) in ./ltrace.main/parameters.ltrace for 0 times ,should
be 1
I haven't seen this one.
FAIL: func_arrayf(. 10.10*, 11.10*, 12.10*, 13.10*\.\.\. ., ) in
> ./ltrace.main/parameters.ltrace for 0 times ,should be 1
>
FAIL: func_arrayf(. 10.10*, 11.10* ., ) in ./ltrace.main/parameters.ltrace
> for 0 times ,should be 1
I had these on ia64 after I fixed other things. It was a double vs float
problem. My patch tweaks how this is done, but probably will not fix this
one.
Running ./ltrace.minor/count-record.exp ...
> FAIL: Fail to find 2 remove in ./ltrace.minor/count-record.ltrace
> FAIL: Fail to find 1 getcwd in ./ltrace.minor/count-record.ltrace
> FAIL: Fail to find 1 fread in ./ltrace.minor/count-record.ltrace
What does ./ltrace.minor/count-record.ltrace have?
Native configuration is powerpc64-suse-linux-gnu
>
> FAIL: func_ignore(1, *, *3) in ./ltrace.main/parameters.ltrace for 0 times
> ,should be 1
Wow, this one is just unhappy. Can you post ./ltrace.main/parameters.ltrace?
Native configuration is x86_64-suse-linux-gnu
> FAIL: func_float(3.40*, -3.40*) in ./ltrace.main/parameters.ltrace for 0
> times ,should be 1
It would be nice if the testing harness could isolate sections and print out
"got: XXX, expected: YYY".
When I next get a chance, I'll check whether HP's testdrive cluster has any
of these architectures and see what I can do about tracking the problems
down. It's not straightforward, because they typically don't install
elfutils-libelf-devel, which is required by ltrace.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20060918/7e436919/attachment.html
More information about the Ltrace-devel
mailing list