-->
Page 2 of 2

Re: dangerous relocation: call0: call target out of range:

PostPosted: Tue Nov 17, 2015 2:52 pm
by duese
Hello!

I'm getting the same error, although I have have -mlongcalls in my cflags:

CFLAGS = -Os -ggdb -std=gnu99 -Werror -Wno-implicit -Wpointer-arith -Wundef -Wall -Wl,-EL -fno-inline-functions \
-nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -D_STDINT_H \
-Wno-address


Has anybody an idea for me, what is going wrong?
I'm relatively new to this stuff.

Thanks in advance,

duese

Re: dangerous relocation: call0: call target out of range:

PostPosted: Wed Nov 18, 2015 12:26 am
by jcmvbkbc
duese wrote:Has anybody an idea for me, what is going wrong?

Have you tried cleaning it all and rebuilding from scratch?
Please share your full build log that includes calls to compiler, linker and error message.
How did you build your compiler?