Found a program compilation issue with BLE GATT_client program.

ujurmsde
Posts: 38
Joined: Tue Jan 19, 2021 6:37 am

Found a program compilation issue with BLE GATT_client program.

Postby ujurmsde » Sun Jun 20, 2021 11:41 am

Hi,

I am sharing the issue I faced to build the BLE application in hope that it might be useful to someone else with the same issue

While I was running the command to build the project I got the error as specified here.
idf.py build
/user/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/stdio.h:692:62: internal compiler error: Segmentation fault
if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
^~~~
xtensa-esp32-elf-g++: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[3/876] Building CXX object esp-idf/nv...idf_nvs_flash.dir/src/nvs_page.cpp.obj
FAILED: esp-idf/nvs_flash/CMakeFiles/__idf_nvs_flash.dir/src/nvs_page.cpp.obj
The error can be solved by installing a newer version of g++

https://stackoverflow.com/questions/442 ... where-do-i

Who is online

Users browsing this forum: No registered users and 29 guests