Bug 161572

Summary: cannot rebuild valgrind from SRPM
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: valgrindAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4.0-3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-12 16:46:20 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 John Reiser 2005-06-24 15:30:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
Rebuilding valgrind from SRPM fails with compiler messages:
error: unknown register name 'mm0' in 'asm'

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

How reproducible:
Always

Steps to Reproduce:
1. rpm --install valgrind-2.4.0-2.src.rpm
2. cd SPECS; rpmbuild -ba valgrind.spec
3.
  

Actual Results:       ...
/usr/bin/perl ./gen_insn_test.pl < insn_fpu.def > insn_fpu.c
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..     -Winline -Wall -Wshadow -g -I../../../include -Wno-long-long -Wno-pointer-sign -MT insn_fpu.o -MD -MP -MF ".deps/insn_fpu.Tpo" -c -o insn_fpu.o insn_fpu.c; \
then mv -f ".deps/insn_fpu.Tpo" ".deps/insn_fpu.Po"; else rm -f ".deps/insn_fpu.Tpo"; exit 1; fi
insn_fpu.c: In function 'faddl_1':
insn_fpu.c:383: error: unknown register name 'mm0' in 'asm'
insn_fpu.c: In function 'faddl_2':
insn_fpu.c:421: error: unknown register name 'mm0' in 'asm'
     ...
make[5]: *** [insn_fpu.o] Error 1




Expected Results:  Successful build.

Additional info:

Comment 1 John Reiser 2005-06-24 15:31:52 UTC
gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
binutils-2.15.94.0.2.2-2


Comment 2 Jakub Jelinek 2005-07-12 16:46:20 UTC
valgrind bug.  Fixed in valgrind-2.4.0-3.