Created attachment 535576 [details] emerge --info libtool: link: powerpc-unknown-linux-gnu-gcc -O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -pipe -maltivec -fpie -Wl,-O1 -fPIC -DPIC -pie -rdynamic -o bin/eolian/.libs/eolian_gen bin/eolian/bin_eolian_eolian_gen-main.o bin/eolian/bin_eolian_eolian_gen-types.o bin/eolian/bin_eolian_eolian_gen-headers.o bin/eolian/bin_eolian_eolian_gen-sources.o bin/eolian/bin_eolian_eolian_gen-docs.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--no-copy-dt-needed-entries -Wl,--as-needed lib/eina/.libs/libeina.so -L/lib lib/eolian/.libs/libeolian.so /var/tmp/portage/dev-libs/efl-1.20.7/work/efl-1.20.7/src/lib/eina/.libs/libeina.so -lsystemd -lm -ldl -lrt -lpthread lib/eina/.libs/libeina.so: undefined reference to `_Uppc32_init_local' lib/eina/.libs/libeina.so: undefined reference to `_Uppc32_step' lib/eina/.libs/libeina.so: undefined reference to `_Uppc32_get_reg' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:26710: bin/eolian/eolian_gen] Error 1 make[1]: *** [Makefile:2971: all-recursive] Error 1 make: *** [Makefile:2066: all] Error 2 * ERROR: dev-libs/efl-1.20.7::gentoo failed (compile phase): * emake failed
Created attachment 535578 [details] build.log
I really dont know. Seems to be somehow related in multilib system error... have you rebuild -e world after migrating to 17.0? Or after gcc upgrade? Did this package build before, or does efl-1.18.4 work? To me it looks like either some required lib is missing multilib support, or some multilib package failed to install correctly. But I truly have no ideas :I
Hmm, efl-1.18.4 fails with exactly the same error. I don't know wether dev-libs/efl worked before as it is the first time I built it on ppc. Yes, I did rebuild the toolchain + rebuild world after migrating to 17.0. Going to check out the deps the next few days. But so far no other package has failed with undefined reference to `_Uppc32_init_local', `_Uppc32_step', `_Uppc32_get_reg'...
Hey, I found this patch: https://src.fedoraproject.org/rpms/efl/blob/master/f/efl-1.20.2-endian.patch If you could test it please. Still no new ideas about this sorry.
The patch didn't apply, so I had a look at the patch. It just adds one line in efl-1.20.2/src/lib/eina/eina_debug.c: #include "eina_cpu.h" In 1.20.7, #include "eina_cpu.h" is already present in efl-1.20.7/src/lib/eina/eina_debug.c so the patch is no longer necessary. Would be interesting of someone else can reproduce this on ppc?
Created attachment 559564 [details] build.log (1.21.1-r2) Same as in bug #668486.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9db93904d8cb6945f8b8e4c7e8cde25f9de469fa commit 9db93904d8cb6945f8b8e4c7e8cde25f9de469fa Author: Joonas Niilola <juippis@gmail.com> AuthorDate: 2019-01-12 19:28:47 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-04-13 12:02:56 +0000 profiles: force 'unwind' on with dev-libs/efl on ppc & ppc64 Bug: https://bugs.gentoo.org/668486 Bug: https://bugs.gentoo.org/657750 Signed-off-by: Joonas Niilola <juippis@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10812 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/arch/powerpc/package.use.force | 5 +++++ 1 file changed, 5 insertions(+)