This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Original Thread: https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/778142/2910426#2910426
------------------------
Hello Robert,
After installing a clean environment, following your instructions and properly linking all my libs and making the changes needed for my projects to compile, I am having the same error as on my first attempt before your solution (using Energia 17 + GCC 7.3 + CCS 8.2).
I try to compile a smaller code that compiles perfectly on CCS 6.2 + GCC 4.6.3 + Energia 17 and it gives me the same error:
Dwarf Error: Line info data is bigger (0xfffffffc) than the section (0x<varies w/section size>).
Reading the generated .map file, it is trying to generate a HUGE amount of debug data. The size for .debug_info section is much bigger than the whole memory available on chip!
The curious thing is: On the old version that works, this huge amount of debug data also exists on .map file, surely the linker is “being wise enough” to ignore it, I don’t know, I’m not an expert on GCC and LD…
Things I have tried so far: Disable DWARF, uncheck –g option for GCC, replicate the same for linker options. None of these seems to make a difference.
Is there something wrong I am doing or NOT doing that you already know that causes this error?
Thank you so much again for your help!
Mario
**Attention** This is a public forum