[SOLVED] Overflow issue when linking external libary on ESP32
Posted: Fri May 26, 2017 8:54 pm
I am getting the following error when compiling on the ESP32:
It seems the external library (JerryScript) is too large to be linked, however, it shouldn't be since it works on the ESP8266. I have used the same build settings for JerryScript as the ESP8266. I have also built the "release" target to ensure debug code isn't included. I have raised this question/issue (https://github.com/jerryscript-project/ ... ssues/1854) with the JerryScript.
Code: Select all
/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/simon/Projects/esp32/build/nibbl.elf section `.dram0.bss' will not fit in region `dram0_0_seg'
/opt/Espressif/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: region `dram0_0_seg' overflowed by 231096 bytes
collect2: error: ld returned 1 exit status
/opt/Espressif/esp-idf/make/project.mk:322: recipe for target '/home/simon/Projects/esp32/build/nibbl.elf' failed