×

Notice

The forum is in read only mode.

devo7e build error: section `.bss' will not fit

More
19 Feb 2017 03:49 #59301 by coredump
I hit this error while compiling the current master branch.

+ Building 'objs/devo7e/dsm2_cyrf6936.bin'
arm-none-eabi-ld: objs/devo7e/dsm2_cyrf6936.elf section `.bss' will not fit in region `ram'
target/common/devo/Makefile.inc:80: recipe for target 'objs/devo7e/dsm2_cyrf6936.bin' failed
make[1]: *** [objs/devo7e/dsm2_cyrf6936.bin] Error 1
Makefile:53: recipe for target 'devo7e' failed
make: *** [devo7e] Error 2

I take a look, it seems the dsm2 module can't fit into the 4K ram range
allocated for the module. I hack the linker script to allow it to build. It was
over 4K by about 12 bytes.

If I comment out the log filter feature for devo7e, which was introduce for in
3ca82a78174c1b72b9bb2bb9284551483a910a47: DSM2/X protocol update
The dsm2 module was able to fit into 4K limit and compile passed.

I am using gcc-arm-none-eabi-5_4-2016q3 from launchpad.
More
19 Feb 2017 05:19 #59302 by vlad_vy
You need to use gcc-arm-none-eabi-4_8-2013q4-20131204
More
19 Feb 2017 07:24 #59304 by coredump
I see. Thanks for the reply. That must be it.

That version of gcc is pretty old now.

I am downloading that gcc to verify.
More
19 Feb 2017 09:15 #59307 by FDR
You had better to use the docker image to build.
It has the appropriate gcc...
Time to create page: 0.123 seconds
Powered by Kunena Forum