Created attachment 764480 [details] emerge --info [...] [78/106] /usr/bin/powerpc-unknown-linux-gnu-g++ -Dcapnp_rpc_EXPORTS -I/var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++/src/capnp/.. -I/var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++/src/kj/.. -O2 -mcpu=7450 -pipe -fPIC -Wall -Wextra -Wno-strict-aliasing -Wno-sign-compare -Wno-unused-parameter -pthread -MD -MT src/capnp/CMakeFiles/capnp-rpc.dir/ez-rpc.c++.o -MF src/capnp/CMakeFiles/capnp-rpc.dir/ez-rpc.c++.o.d -o src/capnp/CMakeFiles/capnp-rpc.dir/ez-rpc.c++.o -c /var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++/src/capnp/ez-rpc.c++ [79/106] : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -mcpu=7450 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu src/capnp/CMakeFiles/capnpc_capnp.dir/compiler/capnpc-capnp.c++.o -o src/capnp/capnpc-capnp -Wl,-rpath,/var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++_build/src/capnp:/var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++_build/src/kj: src/capnp/libcapnp.so.0.9.1 src/kj/libkj.so.0.9.1 -lpthread && : FAILED: src/capnp/capnpc-capnp : && /usr/bin/powerpc-unknown-linux-gnu-g++ -O2 -mcpu=7450 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu src/capnp/CMakeFiles/capnpc_capnp.dir/compiler/capnpc-capnp.c++.o -o src/capnp/capnpc-capnp -Wl,-rpath,/var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++_build/src/capnp:/var/tmp/portage/dev-libs/capnproto-0.9.1/work/capnproto-0.9.1/c++_build/src/kj: src/capnp/libcapnp.so.0.9.1 src/kj/libkj.so.0.9.1 -lpthread && : /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: src/capnp/libcapnp.so.0.9.1: undefined reference to `__atomic_load_8' /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: src/capnp/libcapnp.so.0.9.1: undefined reference to `__atomic_store_8' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: dev-libs/capnproto-0.9.1::gentoo failed (compile phase): * ninja -v -j1 -l0 failed
Created attachment 764481 [details] build.log
Debian patch: https://sources.debian.org/patches/capnproto/0.9.1-2/07_libatomic.patch/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbf12388bbda19a3ad3911b7488c14d67b95df1 commit adbf12388bbda19a3ad3911b7488c14d67b95df1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-27 23:29:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-27 23:29:55 +0000 dev-libs/capnproto: fix build on PPC (-latomic) Closes: https://bugs.gentoo.org/832816 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/capnproto/capnproto-0.9.1.ebuild | 4 ++ .../files/capnproto-0.9.1-libatomic.patch | 59 ++++++++++++++++++++++ 2 files changed, 63 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8b3e9588eacd192978599a5199fbb54071a53e commit 8e8b3e9588eacd192978599a5199fbb54071a53e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-27 23:47:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-27 23:47:41 +0000 dev-libs/capnproto: fix libatomic on PPC Thanks to Arfrever; I skimmed the patch, thought it looked reasonable, didn't notice the latter part was for CMake config file, not CMakeLists.txt. Closes: https://bugs.gentoo.org/832816 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/capnproto/capnproto-0.9.1.ebuild | 10 ++-- .../files/capnproto-0.9.1-libatomic.patch | 59 ---------------------- 2 files changed, 5 insertions(+), 64 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af10fe810dd1e7d1c6c132a2e659a0dc40df2ed9 commit af10fe810dd1e7d1c6c132a2e659a0dc40df2ed9 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-28 00:23:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-28 00:23:53 +0000 dev-libs/capnproto: final(!) libatomic fix Bug: https://bugs.gentoo.org/832816 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/capnproto/capnproto-0.9.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)