Search found 384 matches

by permal
Sun Aug 11, 2019 5:36 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

make: *** No rule to make target 'size'. Stop.
I think it fails because of similar issues as outlined in this GH issue: https://github.com/espressif/esp-idf/issues/3677 but I haven't managed to figure it out yet.
by permal
Sun Aug 11, 2019 4:53 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

Progress! Apparently, target_link_options doesn't do what I expect, or I'm using it wrongly. This doesn't work: target_link_options(${PROJECT_NAME} PUBLIC -mlongcalls -mtext-section-literals) This, however, does: if(${ESP_PLATFORM}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlongcalls -mtext-section-lite...
by permal
Sun Aug 11, 2019 3:26 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

I'm building from master. Though I haven't pushed the code that causes the linker error to GH yet.
by permal
Sun Aug 11, 2019 3:11 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

which smooth repo you are using for server / socket ?
Sorry, I don't understand the question.
by permal
Sun Aug 11, 2019 2:51 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

I don't see what it has to do with this issue, but there's a libc.a linked in this GH issue that seems to help with memory corruption.
by permal
Sun Aug 11, 2019 2:37 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

rudi ;-) wrote:
Sun Aug 11, 2019 2:36 pm
what happens if youd add -mlongcalls too?
Yeah, I read about that one too and did try it, but nothing changed. I'm wondering if I'm not setting the linker options properly?
by permal
Sun Aug 11, 2019 1:52 pm
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

Re: dangerous relocation: l32r: literal target out of range (try using text-section-literals)

Thanks Rudi. I've read what you've linked and while it confirms my understanding of the problem, I'm still stumped as to do about it.
by permal
Sun Aug 11, 2019 10:35 am
Forum: General Discussion
Topic: dangerous relocation: l32r: literal target out of range (try using text-section-literals)
Replies: 26
Views: 28535

dangerous relocation: l32r: literal target out of range (try using text-section-literals)

Hi, Could someone with better knowledge of the Xtensa architecture/compiler please explain to me what this linker error means, and what to do about it? So far I've tried adding combinations of "-mauto-litpools" and "-mtext-section-literals" to my library and app, but without effect like so; target_l...
by permal
Sat Jul 13, 2019 12:53 pm
Forum: General Discussion
Topic: (POWERON_RESTE) Looping Boot Issue
Replies: 1
Views: 3391

Re: (POWERON_RESTE) Looping Boot Issue

Check that your power supply is table and able to deliver enough current. Also check bootstrap GPIOs, esp. the one that sets the voltage level for the flash so that it has proper pull-up/down during boot.