Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Wayland + Enlightenment on RPi3 with gentoo arm64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
jpkc
n00b
n00b


Joined: 18 Jun 2019
Posts: 13
Location: Brazil

PostPosted: Mon Jun 24, 2019 7:23 pm    Post subject: [Solved] Wayland + Enlightenment on RPi3 with gentoo arm64 Reply with quote

Can't compile Enlightenment! :x Fails compiling lib efl on arm64 gentoo :cry:

I'm having problems compiling Enlightenment Window Manager for Wayland on my Raspberry Pi 3 B. Yes, I believe they're both masked for a reason... Whatever. :D It fails compiling lib efl (dependency)

Code:
Emerge error:
...
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.1.0/../../../../aarch64-unknown-linux-gnu/bin/ld: lib/eina/.libs/libeina.so: undefined reference to `_Uaarch64_init_local'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.1.0/../../../../aarch64-unknown-linux-gnu/bin/ld: lib/eina/.libs/libeina.so: undefined reference to `_Uaarch64_get_reg'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.1.0/../../../../aarch64-unknown-linux-gnu/bin/ld: lib/eina/.libs/libeina.so: undefined reference to `_Uaarch64_step'
...


This guy got it running (on Raspbian?)
https://www.youtube.com/watch?v=lNzp5kBLpaI

I don't know how to fix those defines. Can anyone help? :roll:

Relevant info:

Code:
~ $ sudo emerge --ask enlightenment
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    *] dev-libs/efl-1.22.2  USE="X bmp drm eet fontconfig gif gles2 ico nls pdf ppm psd ssl svg system-lz4 systemd tiff wayland -connman -dds -debug (-elogind) -examples -fbcon -fribidi -glib -gnutls -gstreamer -harfbuzz -hyphen -ibus -jpeg2k -libressl -libuv (-luajit) -neon -opengl (-physics) -postscript -pulseaudio -raw -scim (-sdl) -sound -static-libs -tga -tslib -unwind -v4l (-valgrind) -vlc -vnc -webp -xcf -xim (-xine) -xpm -xpresent -zeroconf"
[ebuild  N    *] x11-wm/enlightenment-0.22.4-r1  USE="acpi bluetooth nls pam systemd udisks wayland wifi -connman -doc -geolocation (-packagekit) -xwayland"

Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) dev-libs/efl-1.22.2::gentoo
...
...
...
libtool: link: (cd "lib/eolian/.libs" && rm -f "libeolian.so.1" && ln -s "libeolian.so.1.22.2" "libeolian.so.1")
libtool: link: (cd "lib/eolian/.libs" && rm -f "libeolian.so" && ln -s "libeolian.so.1.22.2" "libeolian.so")
libtool: link: ( cd "lib/eolian/.libs" && rm -f "libeolian.la" && ln -s "../libeolian.la" "libeolian.la" )
/bin/sh ../libtool  --tag=CC   --mode=link aarch64-unknown-linux-gnu-gcc  -march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -fpie  -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -fPIC -DPIC -pie -rdynamic -o bin/eolian/eolian_gen bin/eolian/eolian_gen-main.o bin/eolian/eolian_gen-types.o bin/eolian/eolian_gen-headers.o bin/eolian/eolian_gen-sources.o bin/eolian/eolian_gen-docs.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries      lib/eina/libeina.la   -lpthread          lib/eolian/libeolian.la
libtool: link: aarch64-unknown-linux-gnu-gcc -march=armv8-a+crc -mtune=cortex-a53 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -fpie -Wl,--reduce-memory-overheads -Wl,--no-keep-memory -fPIC -DPIC -pie -rdynamic -o bin/eolian/.libs/eolian_gen bin/eolian/eolian_gen-main.o bin/eolian/eolian_gen-types.o bin/eolian/eolian_gen-headers.o bin/eolian/eolian_gen-sources.o bin/eolian/eolian_gen-docs.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries  lib/eina/.libs/libeina.so -L/lib64 lib/eolian/.libs/libeolian.so /var/tmp/portage/dev-libs/efl-1.22.2/work/efl-1.22.2/src/lib/eina/.libs/libeina.so -lsystemd -lm -ldl -lrt -lpthread
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.1.0/../../../../aarch64-unknown-linux-gnu/bin/ld: lib/eina/.libs/libeina.so: undefined reference to `_Uaarch64_init_local'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.1.0/../../../../aarch64-unknown-linux-gnu/bin/ld: lib/eina/.libs/libeina.so: undefined reference to `_Uaarch64_get_reg'
/usr/lib/gcc/aarch64-unknown-linux-gnu/9.1.0/../../../../aarch64-unknown-linux-gnu/bin/ld: lib/eina/.libs/libeina.so: undefined reference to `_Uaarch64_step'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:30478: bin/eolian/eolian_gen] Error 1
make[1]: *** [Makefile:3013: all-recursive] Error 1
make: *** [Makefile:2100: all] Error 2
 * ERROR: dev-libs/efl-1.22.2::gentoo failed (compile phase):
 *   emake failed
...
...
...


Everything is up to date.
Code:
~ $ emerge --sync
~ $ perl-cleaner --all
~ $ emerge --ask --update --deep --newuse @world
~ $ emerge --depclean

All lines above runs flawlessly (i.e.: they all quit saying there's nothing to do)

V4 graphics driver are properly set. X11 is installed (without window manager) for test purposes.
Code:
~$ startx
brings X11 up and it works fine.

Wayland emerged without a problem:
Code:
sudo emerge --pretend wayland
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/wayland-1.17.0


Use flags:
Code:
$ cat /etc/portage/package.use/efl
>=dev-libs/efl-1.22.2 drm gles2 -opengl

 $ cat /etc/portage/package.use/enlightenment
x11-wm/enlightenment wifi


Package Keywords
Code:
cat /etc/portage/package.keywords/enlightenment
# required by evtest (argument)
=app-misc/evtest-1.31 **
=dev-libs/efl-1.22.2 **

# required by enlightenment (argument)
=x11-wm/enlightenment-0.22.4-r1 **


kernel:
Code:
~ $ uname -s

Code:
 Linux Pi64 4.14.50-v8+ #1 SMP PREEMPT Wed Jun 20 14:27:15 -03 2018 aarch64 GNU/Linux

_________________
In a world without fences and walls, who needs Gates and Windows?


Last edited by jpkc on Tue Jun 25, 2019 3:54 pm; edited 2 times in total
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 755
Location: /home

PostPosted: Tue Jun 25, 2019 3:14 am    Post subject: Reply with quote

Hey,

try enabling 'unwind' USE flag.

There's a PR to fix it waiting to get merged: https://github.com/gentoo/gentoo/pull/11266
Back to top
View user's profile Send private message
jpkc
n00b
n00b


Joined: 18 Jun 2019
Posts: 13
Location: Brazil

PostPosted: Tue Jun 25, 2019 2:20 pm    Post subject: Reply with quote

Juippisi wrote:
Hey,

try enabling 'unwind' USE flag.

There's a PR to fix it waiting to get merged: https://github.com/gentoo/gentoo/pull/11266


Wow! 8O Bullseye! :o efl compiled and so did Enlightenment. :D

Thanks 1000! :P
_________________
In a world without fences and walls, who needs Gates and Windows?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum