I'm not sure if this is caused by a missing package or something, but it doesn't seem so. I tried this with mainline MAME 0.137 and 0.138 with the same problem. I can compile this on another 64bit architecture and same version of Ubuntu. (and same GCC package version, but different architecture)
Any ideas?
mame@MAME:~/mame0138$ make
Compiling src/emu/cpu/tms57002/tms57002.c...
{standard input}: Assembler messages:
{standard input}:1771: Warning: end of file not at end of a line; newline inserted
{standard input}:3601: Error: suffix or operands invalid for `xor'
{standard input}:3601: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <[url=file:///usr/share/doc/gcc-4.4/README.Bugs][url=file:///usr/share/doc/gcc-4.4/README.Bugs][url=file:///usr/share/doc/gcc-4.4/README.Bugs]file:///usr/share/doc/gcc-4.4/README.Bugs[/url][/url][/url]> for instructions.
make: *** [obj/sdl/mame/emu/cpu/tms57002/tms57002.o] Error 1