Trying to build particle deviceOS using gcc-elf-arm
and I run into these types of errors:
/usr/local/gcc-arm/arm-none-eabi/include/c++/11.2.1/bits/std_mutex.h:135:7: error: '__GTHREAD_COND_INIT_FUNCTION' was not declared in this scope 135 | __GTHREAD_COND_INIT_FUNCTION(&_M_cond); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~/usr/local/gcc-arm/arm-none-eabi/include/c++/11.2.1/bits/std_mutex.h: In destructor 'std::__condvar::~__condvar()':/usr/local/gcc-arm/arm-none-eabi/include/c++/11.2.1/bits/std_mutex.h:141:45: error: '__gthread_cond_destroy' was not declared in this scope; did you mean '__gthread_mutex_destroy'? 141 | int __e __attribute__((__unused__)) = __gthread_cond_destroy(&_M_cond); | ^~~~~~~~~~~~~~~~~~~~~~ | __gthread_mutex_destroy
The code for device OS and gcc-arm are effectively out of the box and unmodified from their stable released versions.