Migration to 2.10 compiler issue
I am migrating from compiler version 1.42 to 2.10 32bit for a PIC32MZ2048EFG100 project. What compiled before is now failing on the linker with:
In function `__reset_switch_isa':
libpic32/startup/crt0.S:(.reset+0x10): relocation truncated to fit: R_MIPS_26 against `_startup'
The startup code shows small enough to fit into the kseg0_boot_mem area:
/* Application C startup module */
kseg0_boot_mem : ORIGIN = 0x9D000000, LENGTH = 0x1000
.startup ORIGIN(kseg0_boot_mem) :
} > kseg0_boot_mem
So I am kind of lost as to what the issue is with this new version.