cameron314 / cameron314/concurrentqueue
Riscv compilation encounters a tbss error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.5k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
/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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the RISC-V toolchain using the shown queueMouseData and enqueue example. Start by comparing the linker output with the runtime library search path for libatomic.so.1; done means the example compiles and runs without the .tbss adjustment or missing-library error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100