Having an issue compiling mame 0.227, as excerpted below. I thought it might have been due to gcc-10 but I downgraded to gcc-9 and got the same result. Any thoughts or suggestions are welcome.

Compiling src/frontend/mame/luaengine_render.cpp...
{standard input}: Assembler messages:
{standard input}:1953: Warning: end of file not at end of a line; newline inserted
{standard input}:2238: Error: bad register name `%rc'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++-9: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [emu.make:1196: ../../../../linux_gcc/obj/x64/Release/src/emu/emumem_aspace.o] Error 1