Short in memory space on your tiny micro-controller, mysterious build errors, etc. Have you considered updating the toolchain you downloaded few years ago?
This article demonstrates how the toolchain version can affect your firmware.
Tags: polymcu, gcc, llvm