|
From: John R. <jr...@Bi...> - 2014-04-17 23:08:12
|
> 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. -- |