Created attachment 766876 [details] build log /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.1/../../../../riscv64-unknown-linux-gnu/bin/ld: src/api/CMakeFiles/api.dir/api_algebraic.cpp .o: in function `.LEHE20': api_algebraic.cpp:(.text+0x782): undefined reference to `__atomic_exchange_1' /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.1/../../../../riscv64-unknown-linux-gnu/bin/ld: src/api/CMakeFiles/api.dir/api_algebraic.cpp .o:api_algebraic.cpp:(.text+0xd46): more undefined references to `__atomic_exchange_1' follow collect2: error: ld returned 1 exit status
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fd2b212d6410381821dd09ba0ddbb1ab1e4d3e commit 21fd2b212d6410381821dd09ba0ddbb1ab1e4d3e Author: Han Gao <rabenda.cn@gmail.com> AuthorDate: 2022-03-16 16:13:33 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-03-16 19:18:07 +0000 sci-mathematics/z3: fix link atomic in riscv Bug: https://bugs.gentoo.org/835003 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Han Gao <rabenda.cn@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24519 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> sci-mathematics/z3/files/z3-4.8.14-libatomic.patch | 60 ++++++++++++++++++++++ sci-mathematics/z3/z3-4.8.14.ebuild | 4 ++ 2 files changed, 64 insertions(+)