Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657750 - >=dev-libs/efl-1.20.7 lib/eina/.libs/libeina.so: undefined reference to `_Uppc32_init_local'
Summary: >=dev-libs/efl-1.20.7 lib/eina/.libs/libeina.so: undefined reference to `_Upp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-06-10 17:32 UTC by ernsteiswuerfel
Modified: 2019-04-13 12:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_657750.txt,5.90 KB, text/plain)
2018-06-10 17:32 UTC, ernsteiswuerfel
Details
build.log (efl-1.20.7:20180610-170805.log,178.96 KB, text/plain)
2018-06-10 17:33 UTC, ernsteiswuerfel
Details
build.log (1.21.1-r2) (efl-1.21.1-r2:20190102-173111.log,176.38 KB, text/plain)
2019-01-02 18:10 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-06-10 17:32:02 UTC
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
Comment 1 ernsteiswuerfel archtester 2018-06-10 17:33:36 UTC
Created attachment 535578 [details]
build.log
Comment 2 Joonas Niilola gentoo-dev 2018-06-19 05:14:33 UTC
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
Comment 3 ernsteiswuerfel archtester 2018-06-20 17:23:46 UTC
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'...
Comment 4 Joonas Niilola gentoo-dev 2018-06-26 16:00:20 UTC
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.
Comment 5 ernsteiswuerfel archtester 2018-06-27 15:47:19 UTC
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?
Comment 6 ernsteiswuerfel archtester 2019-01-02 18:10:15 UTC
Created attachment 559564 [details]
build.log (1.21.1-r2)

Same as in bug #668486.
Comment 7 Larry the Git Cow gentoo-dev 2019-04-13 12:03:03 UTC
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(+)