emergency_buffer in libstdc++ 4.9.2-5
Asked by
mr.lahorde
Hello,
Today I've upgraded arm-none-eabi-gcc from 4.9.2-4 => 4.9.2-5
Building image with this version is not possible anymore. Indeed in my binary emergency_buffer symbol of 0x800 is present => heap overflows stack.
I've compiled with no-exceptions flag because I do not want to use c++ exceptions.
As in this post, https:/
But my question is why by default libstdc++ compiled with emergency_buffer? Why such a buffer size on an embedded system?
Here are compilation options :
arm-none-eabi-g++ -mcpu=cortex-m0 -mthumb -O0 -ffunction-sections -fdata-sections -Wall -g -std=c++11 -fno-exceptions -fno-rtti
Regards
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- mr.lahorde
- Solved:
- Last query:
- Last reply:
To post a message you must log in.