Bug 187362

Summary: x86_64 valgrind can't debug 64-bit programs
Product: [Fedora] Fedora Reporter: Tethys <tethys>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 3.1.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-30 15:44:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tethys 2006-03-30 14:24:07 UTC
Description of problem:
valgrind in FC4 is built for i386, and so doesn't work for 64-bit binaries.

Version-Release number of selected component (if applicable):
valgrind-2.4.0-2

How reproducible:
Every time

Steps to Reproduce:
1. valgrind ls   or   valgrind ./a.out  etc
2.
3.
  
Actual results:
mrburns:~% valgrind ls
valgrind: wrong executable class (eg. 32-bit instead
valgrind: of 64-bit)
valgrind: do_exec(/bin/ls) failed: Exec format error

Expected results:


Additional info:
It looks like this has been fixed for FC5, but for various reasons, I'm not
in a position to upgrade yet.

Comment 1 Jakub Jelinek 2006-03-30 15:44:07 UTC
There are no plans to put this into FC4, the upgrade from 2.4.0 to 3.1.0
is just too invasive and 2.4.0 doesn't support x86_64 nor ppc.
You can rebuild the src.rpm yourself if you want.