Compiler error when compiling for discovery board after cloning new master branch
Got this compiler error after trying to compile a simple Hello World program for the STM32F4 Discovery Board after cloning RODOS from the master branch. Compiling the same program for Linux-x86 works.
usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: /home/fyreman/STM_RODOS_WORKSPACE/rodos/build/libs/discovery/librodos.a(thread_on_hw.o): in function std::__atomic_base<unsigned long long>::load(std::memory_order) const': /usr/include/newlib/c++/9.2.1/bits/atomic_base.h:419: undefined reference to
__atomic_load_8'
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: /home/fyreman/STM_RODOS_WORKSPACE/rodos/build/libs/discovery/librodos.a(scheduler.o): in function std::__atomic_base<unsigned long long>::store(unsigned long long, std::memory_order)': /usr/include/newlib/c++/9.2.1/bits/atomic_base.h:397: undefined reference to
__atomic_store_8'
collect2: error: ld returned 1 exit status
Compiling the same program for discovery with an older RODOS branch (rodos @ 3625f6a5) also works