Open
Description
I'm building a piece of source code, and it is giving me the following build error:
/avr/bin/ld: C:\Users\clb\AppData\Local\Temp\build4551615865478074668.tmp/MyTest.cpp.elf section `.text' will not fit in region `text'
/avr/bin/ld: region `text' overflowed by 1910 bytes
collect2: error: ld returned 1 exit status
Error compiling.
but there is no indication of what caused the overflow. Instead of giving an unhelpful error message, it would be better to give a dump of used memory in the 'text' region, along with file and line information of where the symbols come from, sorted in descending order of size taken, so that it is possible to analyze what takes up memory and to get ideas where to optimize.