Compiling on OS X fails with region `RAM' overflowed by 1608 bytes

Issue #10 new
Rob Smith
created an issue

When running make all, I receive the following error

  LD    cflie.elf
/opt/local/lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld: cflie.elf section `.bss' will not fit in region `RAM'
/opt/local/lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 1608 bytes
collect2: error: ld returned 1 exit status
make: *** [cflie.elf] Error 1
rm version.c

Comments (1)

  1. Austin Robison

    I had problems with the MacPorts arm-none-eabi-gcc toolchain as well. A bit of massaging was needed to get it to compile and link a binary, which didn't seem to generate correctly (entry point was off) and didn't work once I flashed the drone.

    I downloaded the toolchain from launchpad (, pointed CROSS_COMPILE to those binaries in my and was able to build and flash a working binary.

    Not sure if this is an issue with the MacPorts toolchain or the firmware linker scripts.

  2. Log in to comment