Error: suffix or operands invalid for `push'
Ian Lance Taylor
iant@google.com
Thu Jun 2 20:26:00 GMT 2011
asura10 <surajtaurus@gmail.com> writes:
> I just tried executing a normal hello world C program and got the
> following error
>
> /tmp/cc2jcOrX.s: Assembler messages:
> /tmp/cc2jcOrX.s:12: Error: suffix or operands invalid for `push'
> /tmp/cc2jcOrX.s:16: Error: suffix or operands invalid for `push'
> /tmp/cc2jcOrX.s:24: Error: suffix or operands invalid for `pop'
>
> I'm running on a 64-bit server
This normally means that gcc is invoking the wrong assembler for some
reason, or passing it the wrong options. Send us gcc -v output. Also
tell us the command line that fails, and what system you are running on,
and what version of gcc you are using.
Ian
More information about the Gcc-help
mailing list