I know WPEBackend-rdk is deprecated now, and I have seen many patches for the Raspberry Pi userland driver which adds some compatibility for EGL and gles2 apps to it. However, I am not able to build wpebackend-fdo against userland drivers.
t could only be my misunderstanding of userland EGL patches.
Here is the compile log:
/home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 1552
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 15ae
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 160a
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 291f
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 292b
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 29dc
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 2a23
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: DWARF error: could not find variable specification at offset 2a67
| WPEBackend-fdo-1.0@sha/src_egl-client-wayland.cpp.o: in function `WS::EGLClient::TargetWayland::~TargetWayland()':
| /usr/src/debug/wpebackend-fdo/1.10.0-r0/build/../wpebackend-fdo-1.10.0/src/egl-client-wayland.cpp:61: undefined reference to `wl_egl_window_destroy'
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: WPEBackend-fdo-1.0@sha/src_egl-client-wayland.cpp.o: in function `WS::EGLClient::TargetWayland::~TargetWayland()':
| /usr/src/debug/wpebackend-fdo/1.10.0-r0/build/../wpebackend-fdo-1.10.0/src/egl-client-wayland.cpp:61: undefined reference to `wl_egl_window_destroy'
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: WPEBackend-fdo-1.0@sha/src_egl-client-wayland.cpp.o: in function `WS::EGLClient::TargetWayland::resize(unsigned int, unsigned int)':
| /usr/src/debug/wpebackend-fdo/1.10.0-r0/build/../wpebackend-fdo-1.10.0/src/egl-client-wayland.cpp:71: undefined reference to `wl_egl_window_resize'
| /home/builder/build/tmp/work/cortexa7t2hf-neon-vfpv4-sbos-linux-gnueabi/wpebackend-fdo/1.10.0-r0/recipe-sysroot-native/usr/bin/arm-sbos-linux-gnueabi/../../libexec/arm-sbos-linux-gnueabi/gcc/arm-sbos-linux-gnueabi/9.3.0/ld: WPEBackend-fdo-1.0@sha/src_egl-client-wayland.cpp.o: in function `WS::EGLClient::TargetWayland::TargetWayland(WS::BaseTarget&, unsigned int, unsigned int)':
| /usr/src/debug/wpebackend-fdo/1.10.0-r0/build/../wpebackend-fdo-1.10.0/src/egl-client-wayland.cpp:56: undefined reference to `wl_egl_window_create'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
Hi,
I know WPEBackend-rdk is deprecated now, and I have seen many patches for the Raspberry Pi userland driver which adds some compatibility for EGL and gles2 apps to it. However, I am not able to build wpebackend-fdo against userland drivers.
t could only be my misunderstanding of userland EGL patches.
Here is the compile log: