Error xtensa-lx106-elf-g++:

xtensa-lx106-elf-g++:

What is the solution?

What is the problem? That’s not much to go on.
Is this Home Assistant related?

Using the Search tool might be a good place to start…

https://community.home-assistant.io/search?q=xtensa-lx106-elf-g%2B%2B%20order%3Alatest

Usually, that error indicates you are trying to compile on an under-resourced system.