Re: Using valgrind with linaro toolchain

2011-07-29 Thread Diane Holt
Okay, I've finally worked out how to build eglibc (what a nightmare :P ). Now I want to make sure which source I should actually be using -- i.e., what source was used to produce libc6_2.12.1-0ubuntu6_armel.deb, since that's the deb that was downloaded (via Michael's Makefile) for the build of the

Re: Using valgrind with linaro toolchain

2011-07-21 Thread Diane Holt
Okay, it looks like this is the source: https://launchpad.net/ubuntu/+source/eglibc/2.12.1-0ubuntu6 So I downloaded it and tried building it. (I got eglibc-ports-2.12 from cross-lfs.org, which was the only one I could find anywhere.)  I already have an ARM environment (using the linaro 4.5.4 I bu

Re: Using valgrind with linaro toolchain

2011-07-21 Thread Diane Holt
On Thu, Jul 21, 2011 at 12:04 PM, Matthias Klose wrote: > the files in /usr/lib/debug are built with objcopy --only-keep-debug, so > only > include the debug info. the stripped files get a debug link added (objcopy > --add-gnu-debuglink). > Well, that would explain that :( I had assumed they w

Re: Using valgrind with linaro toolchain

2011-07-21 Thread Matthias Klose
On 07/21/2011 08:49 PM, Diane Holt wrote: > Valgrind wants a less stripped ld-2.12.1.so or it won't work. The build > process (that Michael Hope put together) just downloads the > libc6_2.12.1-0ubuntu6_armel.deb, and the ld-2.12.1.so in there is fully > stripped. I thought I'd be able to just get t

Using valgrind with linaro toolchain

2011-07-21 Thread Diane Holt
Valgrind wants a less stripped ld-2.12.1.so or it won't work. The build process (that Michael Hope put together) just downloads the libc6_2.12.1-0ubuntu6_armel.deb, and the ld-2.12.1.so in there is fully stripped. I thought I'd be able to just get the libc6-dbg_2.12.1-0ubuntu6_armel.deb instead, th