I had the same problem (gcc-arm-none-eabi 13.3.1 on Linux) and solved the problem by removing --specs=nosys.specs --specs=nano.specs
from the makefile.