Riscv compilation encounters a tbss error

Author: HowToExpectCreated Jul 3, 2026Updated Jul 14, 2026

/home/f133/tina5.0-f133/out/toolchain/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: ./app: section .tbss lma 0xdf8c0 adjusted to 0xdf8d0

moodycamel::ConcurrentQueue queueMouseData; queueMouseData.enqueue(10);

As long as I call enqueue, there will be a compilation error

./app: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

During runtime, an error will occur stating that the libatomic.so cannot be found

Source: cameron314/concurrentqueue