Re: [Reporting][Need Help] llvm11/12 arm-none-eabi-ld undefined reference to `__atomic_fetch_add_4'

2021-05-31 Thread Matheus Castello
Hi Gustavo, Em 5/31/2021 9:00 AM, Gustavo Henrique Nihei escreveu: Hi Matheus, it seems you are using an Arm processor that does not implement the atomic instructions LDREX and STREX. This is the case for Arm Cortex-M0/M0+ line, which is based on the arm-v6m ISA. In this case, you'd need to

Re: [Reporting][Need Help] llvm11/12 arm-none-eabi-ld undefined reference to `__atomic_fetch_add_4'

2021-05-31 Thread Gustavo Henrique Nihei
Hi Matheus, it seems you are using an Arm processor that does not implement the atomic instructions LDREX and STREX. This is the case for Arm Cortex-M0/M0+ line, which is based on the arm-v6m ISA. In this case, you'd need to implement these functions by providing the atomicity requirements with

[Reporting][Need Help] llvm11/12 arm-none-eabi-ld undefined reference to `__atomic_fetch_add_4'

2021-05-31 Thread Matheus Castello
Trying to use libcxx for port a project to Nuttx and I'm having the following errors: ``` LD: nuttx arm-none-eabi-ld: /home/castello/projects/N/nuttx/staging/libxx.a(locale.o): in function `std::__1::locale::id::__init()': locale.cpp:(.text+0x1890): undefined reference to