OK, having "--specs=nano.specs" option for "Other linker flags" also resolves the...
This seems to be an issue with g++ optimisations and '-fno-use-cxa-atexit' flag is...