Well the error at line 770817 reads like nonsense to me.
> Run same g++ command but with -S and output to luaengine.S
$ ed luaengine.S 374654638 770817 .uleb128 0 771113 .loc 37 90 7 is_stmt 0 view .LVU145142 , 4:Okay, this 4: looks a bit weird and why is it failing to grok .loc…