Hi, I messed a lot with kstars/ekos on ArchLinux and I think I know why these errors happen (I opened the thread you linked).
These errors seem to come from the c++ code itself, archlinux uses by default a lot of flags to compile packages with optimization, if you drop most of them the package will compile without causing Kstars to crash.