Comment 3 for bug 1235748

Revision history for this message
thedanyes (thedanyes) wrote :

Versions 2.20 (and 2.21) contain a very serious and frustrating bug for Arduino developers (compilation just fails seemingly 'randomly'). The only clue is a cryptic error message, something like:
GNU ld (GNU Binutils) 2.21 e:/winavr/4.7.0-1/bin/../lib/gcc/avr/4.7.0/../../../../avr/lib/avr6/crtm2560.o: In function `__vectors':
../../../../../../source/avr-libc-1.7.1/crt1/gcrt1.S:53: relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_1' defined in .text section in e:/winavr/4.7.0-1/bin/../lib/gcc/avr/4.7.0/../../../../avr/lib/avr6/crtm2560.o
collect2.exe: error: ld returned 1 exit status

It seems like it could be fixed easily (just by pulling the updated package from Debian). Please read the link in my previous post for further details.