Re: [Valgrind-users] Valgrind 3.6.0 on ppc doesn't detect any Invalid write errors

2011-03-10 Thread Bart Van Assche
2011/3/9 Piotr AdaszyƄski adas...@gmail.com Strange. Does the output of make -s regtest on your setup match that of the nightly PPC build (available in the valgrind-developers mailing list archives) ? Unfortunately, it's impossible to run make -s regtest and perform regression tests

Re: [Valgrind-users] tracing threaded daemon

2011-03-10 Thread Julian Seward
valgrind and daemon exit shortly after launch, at some close but random Have you tried --trace-children=yes ? One more. Valgrind also complains about unhandled system call, like that: That's a sigwait() system call: That's difficult to fix because it interacts with the signals simulation. I

Re: [Valgrind-users] Problems building Valgrind 3.6.1 for ARM

2011-03-10 Thread Julian Seward
Strange that the link fails. It builds OK for me on Ubuntu 10.04 on ARM (Cortex-A8). Do you have some custom CFLAGS? I see some gcc flags in there that I don't immediately expect: -fexpensive-optimizations -fomit-frame-pointer -frename-registers -mthumb-interwork -mno-thumb What happens if

[Valgrind-users] Lock shared memory in Valgrind tool

2011-03-10 Thread zhouxu(NUDT)
Hi, I want to build a Valgrind tool which can instrument a multi-thread program. It seems I can't use pthread library (such as pthread_mutex_lock) directly in my tool. As to my understanding, when the hosted program is a multi-thread program, the Valgrind tool's code may race. So how can I

Re: [Valgrind-users] Problems building Valgrind 3.6.1 for ARM

2011-03-10 Thread James Wiley
I doing the build as part of an Openembedded Bitbake recipe - there are a lot of extra flags to shrink the size of image. I just did a straight cross-compile outside of OE and it looks to be okay. Thanks for your help. 2011/3/10 Julian Seward jsew...@acm.org Strange that the link fails. It