I get this, when I compile:
/home/poul/Programmer/gcc-arm-none-eabi-5_3-2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld: section .init loaded at [0005bcc0,0005bcc3] overlaps section .data loaded at [0005bcc0,0005c237]
collect2: error: ld returned 1 exit status
make: *** [espruino_1v85.63_pico_1r3.elf] Fejl 1
In makefile l have this:
What have done wrong?
I am running on Linux Mint 17.3 64 bit.
I'm not really sure. It seems that happens if sections overlap, but it's slightly confusing that .init contains only 4 bytes.
Have you changed the code at all?
I'd maybe look at using an earlier compiler like 4.9 - I haven't used 5.3 (the release was only 3 days ago), and that could potentially be an issue.
No, I have not changed the code, I will first compile the code as is, before I make any changes.
It was the compiler.
gcc-arm-none-eabi-5_2-2015q4, does not work
gcc-arm-none-eabi-5_3-2016q1, does not work
Thank you very much
Thanks for the update!
It's a bit frustrating really - it seems like every single time the compiler is updated, the build needs tweaking to make it work again.
I've now tweaked the build so it works on GCC 5.3
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem