c++: internal compiler error: Killed (program cc1plus)

Hello,

I create opengv and ceres-solver packages.
For Tumbleweed, the build pass just fine, but for Leap 15.2 it failed.

https://build.opensuse.org/package/live_build_log/home:andythe_great:branches:science/ceres-solver/openSUSE_Leap_15.2/x86_64
https://build.opensuse.org/package/live_build_log/home:andythe_great/opengv/openSUSE_Leap_15.2/x86_64

  243s] c++: internal compiler error: Killed (program cc1plus)
  243s] Please submit a full bug report,
  243s] with preprocessed source if appropriate.
  243s] See <https://bugs.opensuse.org/> for instructions.

The error is the same, have anyone encounter this error before? Do I need to report the bug?

I just report it here: https://bugzilla.opensuse.org/show_bug.cgi?id=1181022