Re: valgrind error on F9 (x86_64)

2008-07-07 Thread Jakub Jelinek
On Mon, Jul 07, 2008 at 03:59:47PM -0600, Phil Meyer wrote:
> You might try installing valgrind.i386 as well, but I am not certain if 
> valgrind is multi-lib capable, and I don't have a x86_64 system 
> available at this moment.

It is.  If you have both valgrind.x86_64 and valgrind.i386 installed,
you'll be able to trace both 64-bit and 32-bit programs.

Jakub

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: valgrind error on F9 (x86_64)

2008-07-07 Thread Phil Meyer

Globe Trotter wrote:

Hi,

So, I have been unable to get valgrind to do anything.

I install valgrind using yum and valgrind.x86_64 1:3.3.0-3 is installed.

Next I run 

% valgrind ./testprogram (where testprogram is an executable) 


valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such 
file or directory

I have no clue what is going on here. So I 


% locate memcheck
/usr/lib64/valgrind/amd64-linux/memcheck
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so

Strange: my platform is an Intel (this is a Thinkpad T61), so why this 
amd64-linux.

In any case, can someone please help me about my error, if any?
  



Multi-lib issues.

You are trying to evaluate a 32 bit binary on a 64 bit version of 
memcheck -- no worky.


You might try installing valgrind.i386 as well, but I am not certain if 
valgrind is multi-lib capable, and I don't have a x86_64 system 
available at this moment.


Good luck!

PS: 64bitness on x86 was developed by AMD and EMULATED/CLONED by intel 
(EM64T).

Today, AMD64 is roughly equivalent to EM64T, or vice versa.

see: http://en.wikipedia.org/wiki/X86-64

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


valgrind error on F9 (x86_64)

2008-07-06 Thread Globe Trotter
Hi,

So, I have been unable to get valgrind to do anything.

I install valgrind using yum and valgrind.x86_64 1:3.3.0-3 is installed.

Next I run 

% valgrind ./testprogram (where testprogram is an executable) 

valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such 
file or directory

I have no clue what is going on here. So I 

% locate memcheck
/usr/lib64/valgrind/amd64-linux/memcheck
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so

Strange: my platform is an Intel (this is a Thinkpad T61), so why this 
amd64-linux.

In any case, can someone please help me about my error, if any?

Best wishes,
Trotter






  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list