Compiling our application with V3.1 this message comes up
esp-idf/components/esp32/ld/esp32.common.ld:58 cannot move location counter backwards (from 0000000040080400 to 0000000040080000)
Any idea what to do now ?
esp32.common.ld:58 cannot move location counter backwards
Re: esp32.common.ld:58 cannot move location counter backwards
What version are you upgrading from?
The linker script starts the IRAM section with a set of exception vectors at address 0x4008000 in the top of IRAM. The error message suggest that some other linker script has already linked 0x400 bytes to the iram0_seg segment ahead of this instruction, so it can't "go backwards".
(Odd coincidence, the exception vectors size is also 0x400 bytes.)
I'm not sure why this would cause errors now, as this part of the linker script dates from pre-v1.0.
Does your project contain any custom linker scripts that might be being included before esp32.common.ld?
The linker script starts the IRAM section with a set of exception vectors at address 0x4008000 in the top of IRAM. The error message suggest that some other linker script has already linked 0x400 bytes to the iram0_seg segment ahead of this instruction, so it can't "go backwards".
(Odd coincidence, the exception vectors size is also 0x400 bytes.)
I'm not sure why this would cause errors now, as this part of the linker script dates from pre-v1.0.
Does your project contain any custom linker scripts that might be being included before esp32.common.ld?
Who is online
Users browsing this forum: No registered users and 95 guests