> I am trying to compile and install valgrind on a 64 bits CENT OS 6.5 system.
> 
> When I compile valgrind (with make), I get the following errors:
> 
> m_cpuid.S:40: Error: suffix or operands invalid for `push'

> m_cpuid.S:43: Error: suffix or operands invalid for `pushf'

> m_cpuid.S:45: Error: suffix or operands invalid for `pop'

> gcc (GCC) 4.7.3

Unfortunately that version of gcc/gas/bfd/binutils has a bug
in not allowing the 'l' on "pushl %ebp", "popl %ebp", "pushfl".
(They changed gcc and binutils together to omit the 'l',
but forgot that the rest of the world requires
backward compatibility with the old spellings of the opcodes.)

Either change the source to remove the 'l' on the indicated lines,
or upgrade to gcc-4.8.x.

-- 


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to