When compiling my code, the following message appears:
c:/program files (x86)/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o: In function `__vector_default':
(.vectors+0xc8): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_50' defined in .text section in c:/program files (x86)/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o
My code is considerably large and have no idea where to find the cause of this error message.
I have no idea what caused the error but 'relocation truncated to fit' sounds like the compiler is having trouble allocating storage for a pointer. Maybe you have too much global data? Or too much code? The compiler has to fit both of those within the very limited available space.
You say the code is huge. Did it use to compile OK without this error? What have you changed since then?
The code is big, but not huge. (about 70K for a Mega 2560) The where no problems with the code until made some changes. Unfortunately I a? not able to overtake the (minor) changes :~