https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63716
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- c++: internal compiler error: Killed (program cc1plus) means you ran out of memory and the kernel decided to kill GCC. I'd say try without -g or with -fno-var-tracking.