ESPHome install fails while linking firmware.elf

That’s not a lot to go on. I don’t believe anyone will be able to help without more information.

What have you tried?
Have you tried a minimal example YAML?
What was in the log before the fatal error?