Open conchyliculture opened 5 years ago
What is the version of newlib that you are using ? I had some issues with another project with recent versions of this library.
$ dpkg -l | grep newlib
ii libnewlib-arm-none-eabi 3.0.0.20180802-2 all C library and math library compiled for bare metal using Cortex A/R/M
ii libnewlib-dev 3.0.0.20180802-2 all C library and math library intended for use on embedded systems
ii libstdc++-arm-none-eabi-newlib 15:7-2018-q2-3+11 all GNU Standard C++ Library v3 for ARM Cortex-R/M processors (newlib)
Is there a recommended building distro/environment?
I am currently compiling this firmware on a out of the box Debian Stretch. New versions of newlib are known to cause this error, see https://github.com/bbcmicrobit/micropython/issues/363.
I will have a look at it again in this context (not micropython-related) and see if I can issue a fix.
Had the same issue when trying to compile under Kali (newlib 3.0). I turned to latest Debian Stretch, which still uses newlib 2.4, and it worked perfectly.
This is on a debian testing machine (but with gcc-arm-none-eabi (15:7-2018-q2-3) ):