arduino-nRF5 icon indicating copy to clipboard operation
arduino-nRF5 copied to clipboard

Linker warnings on all boards except nRF52 DK

Open rogerclarkmelbourne opened this issue 9 years ago • 2 comments

ld.exe: warning: changing start of section .heap by 4 bytes ld.exe: warning: changing start of section .stack_dummy by 4 bytes ld.exe: warning: changing start of section .heap by 4 bytes ld.exe: warning: changing start of section .stack_dummy by 4 bytes ld.exe: warning: changing start of section .heap by 4 bytes ld.exe: warning: changing start of section .stack_dummy by 4 bytes

I presume this isn't important, never the less, ideally something should be changed in the linker file to fix this.

rogerclarkmelbourne avatar Jul 05 '16 10:07 rogerclarkmelbourne

@rogerclarkmelbourne any ideas on what we can change?

Agreed, they seem harmless, I believe I've also seen them on the nRF52 with some sketches.

sandeepmistry avatar Jul 13 '16 01:07 sandeepmistry

I believe we are seeing this because of all the . = ALIGN(4) everywhere, and need to add a . = ALIGN(8) at the start of these sections. I haven't resolved this, sorry.

From what I have been reading, and from the lack of things going randomly wrong I think we can ignore this. If you take out -Wl,--warn-section-align from ldflags in platform.txt it wont show up.

micooke avatar Sep 12 '17 04:09 micooke