Welcome to Pastey

A lightweight, self-hosted paste platform


Solution
```
20V = I1 * 20 + I3 * 40
20V - 10V = 11 * 20 + I2 * 10
0 = -I1 + I2 + I3
```
Git Format-Patch Not Working
~/linux/kernel radxa-linux-5.10-gen-rkr3.6
λ git format-patch -o ../rock_to_radxa rockchip-linux-5.10-gen-rkr3.6..radxa-linux-5.10-gen-rkr3.6
../rock_to_radxa/0001-arm64-dts-rockchip-keep-on-vdd_log-with-suspend-on-r.patch
../rock_to_radxa/0002-Revert-Revert-ASoC-rockchip-rk817-codec-add-support-.patch
../rock_to_radxa/0003-net-rfkill-rkwifibt-fix-bt-on-off-err-on-Debian.patch
../rock_to_radxa/0004-arm64-dts-rockchip-use-cluster-for-cursor-on-rk3568-.patch
../rock_to_radxa/0005-arm64-dts-rockchip-enable-hardware-cursor-for-rk3566.patch
../rock_to_radxa/0006-Revert-net-wireless-rockchip_wlan-bcmdhd-Enable-CONF.patch
../rock_to_radxa/0007-Revert-arm64-dts-rockchip-disable-afbc-by-default-on.patch
../rock_to_radxa/0008-arm64-dts-rockchip-set-unique-possible_crtcs-for-rk3.patch
Untitled
00:00:00.000 [sway/main.c:334] Sway version 1.8
00:00:00.000 [sway/main.c:335] wlroots version 0.16.1
00:00:00.004 [sway/main.c:120] Linux BATOCERA 5.10.110 #1 SMP PREEMPT Sun Jan 29 23:13:30 Europe 2023 aarch64 GNU/Linux
00:00:00.005 [sway/main.c:136] Contents of /etc/os-release:
00:00:00.005 [sway/main.c:120] NAME=Buildroot
00:00:00.005 [sway/main.c:120] VERSION=2019.11-19274-g093ed22e8c-dirty
00:00:00.005 [sway/main.c:120] ID=buildroot
00:00:00.005 [sway/main.c:120] VERSION_ID=2022.11
00:00:00.005 [sway/main.c:120] PRETTY_NAME="Buildroot 2022.11"
00:00:00.005 [sway/main.c:108] LD_LIBRARY_PATH=
Untitled
It goes into:

0x0000007ff505b6e0 in wlr_backend_get_drm_fd@plt () from /usr/lib64/libwlroots.so.11

bt
#0  0x0000007ff505b6e0 in wlr_backend_get_drm_fd@plt () from /usr/lib64/libwlroots.so.11
#1  0x0000007ff50688a8 in wlr_renderer_autocreate () from /usr/lib64/libwlroots.so.11
#2  0x000000000041b510 in server_init (server=server@entry=0x4837b0 <server>) at ../sway/server.c:77
#3  0x00000000004108bc in main (argc=<optimized out>, argv=0x7ffffffbb8) at ../sway/main.c:381
Untitled
#0  0x0000007ff505c7b0 in eglQueryString@plt () from /usr/lib64/libwlroots.so.11
#1  0x0000007ff5069108 in ?? () from /usr/lib64/libwlroots.so.11
#2  0x0000007ff506a18c in wlr_egl_create_with_drm_fd () from /usr/lib64/libwlroots.so.11
#3  0x0000007ff506cc5c in wlr_gles2_renderer_create_with_drm_fd () from /usr/lib64/libwlroots.so.11
#4  0x0000007ff5068620 in ?? () from /usr/lib64/libwlroots.so.11
#5  0x000000000041b510 in server_init (server=server@entry=0x4837b0 <server>) at ../sway/server.c:77
#6  0x00000000004108bc in main (argc=<optimized out>, argv=0x7ffffffbb8) at ../sway/main.c:381


Untitled
In file included from /rk3588/build/host-llvm-15.0.6/llvm/utils/TableGen/CodeGenRegisters.h:25,
                 from /rk3588/build/host-llvm-15.0.6/llvm/utils/TableGen/RegisterInfoEmitter.cpp:15:
/rk3588/build/host-llvm-15.0.6/llvm/include/llvm/ADT/SparseBitVector.h: In member function ‘void llvm::SparseBitVector<ElementSize>::SparseBitVectorIterator::AdvanceToFirstNonZero() [with unsigned int ElementSize = 128]’:
/rk3588/build/host-llvm-15.0.6/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of ‘const BitWord [2]’ {aka ‘const long unsigned int [2]’} [-Warray-bounds]
  130 |       if (Bits[i] != 0)
      |           ~~~~^
/rk3588/build/host-llvm-15.0.6/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing ‘llvm::SparseBitVectorElement<128>::Bits’
   55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
      |           ^~~~
[  4%] Built target obj.llvm-tblgen
Untitled
CMake Error at cmake/modules/CMakeLists.txt:1 (include):
  include could not find requested file:

    ExtendPath


CMake Error at cmake/modules/CMakeLists.txt:2 (include):
  include could not find requested file:

    FindPrefixFromConfig
Untitled
# Metholody

```
diff -u <(nm -gD --defined-only output/rk3588/build/mali-G610-309268f7a34ca0bba0ab94a0b09feb0191c77fb8/lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-wayland-gbm.so|awk '{ print $3 }')  <(nm -gD --defined-only output/rk3588/build/mali-G610-309268f7a34ca0bba0ab94a0b09feb0191c77fb8/lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-gbm.so| awk '{ print $3}') | grep -e '^-'
```

# Output

-mali_buffer_sharing_interface
-wl_egl_window_create
Untitled
-drmGetMagic
-drmOpen
-mali_buffer_sharing_interface
-wl_buffer_interface
-wl_callback_interface
-wl_client_get_display
-wl_client_post_no_memory
-wl_display_cancel_read
-wl_display_connect
-wl_display_create_queue
Untitled
[root@BATOCERA /userdata/system]# gdb --args /usr/bin/sway
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-buildroot-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
sway strace 1.8
[sway@BATOCERA /userdata/system]$ strace sway -Vd
execve("/usr/bin/sway", ["sway", "-Vd"], 0x7fecbe2ca8 /* 19 vars */) = 0
brk(NULL)                               = 0x2e7ca000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa432d000
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/aarch64/atomics/libcairo.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/tls/aarch64/atomics", 0x7fc4a818a0, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/tls/aarch64/libcairo.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/tls/aarch64", 0x7fc4a818a0, 0) = -1 ENOENT (No such file or directory)
sway -Vd --unsupported-gpu
[root@BATOCERA /userdata/system]# sway -Vd --unsupported-gpu
00:00:00.000 [sway/main.c:347] Sway version 1.7
00:00:00.000 [sway/main.c:348] wlroots version 0.15.1
00:00:00.004 [sway/main.c:120] Linux BATOCERA 5.10.110 #1 SMP PREEMPT Thu Jan 26 15:35:40 Europe 2023 aarch64 GNU/Linux
00:00:00.004 [sway/main.c:136] Contents of /etc/os-release:
00:00:00.004 [sway/main.c:120] NAME=Buildroot
00:00:00.004 [sway/main.c:120] VERSION=2019.11-19267-g85f932712e
00:00:00.004 [sway/main.c:120] ID=buildroot
00:00:00.004 [sway/main.c:120] VERSION_ID=2022.11
00:00:00.004 [sway/main.c:120] PRETTY_NAME="Buildroot 2022.11"
Untitled
[root@BATOCERA /userdata/system]# sway -Vd
00:00:00.000 [sway/main.c:347] Sway version 1.7
00:00:00.000 [sway/main.c:348] wlroots version 0.15.1
00:00:00.004 [sway/main.c:120] Linux BATOCERA 5.10.110 #1 SMP PREEMPT Thu Jan 26 15:35:40 Europe 2023 aarch64 GNU/Linux
00:00:00.005 [sway/main.c:136] Contents of /etc/os-release:
00:00:00.005 [sway/main.c:120] NAME=Buildroot
00:00:00.005 [sway/main.c:120] VERSION=2019.11-19267-g85f932712e
00:00:00.005 [sway/main.c:120] ID=buildroot
00:00:00.005 [sway/main.c:120] VERSION_ID=2022.11
00:00:00.005 [sway/main.c:120] PRETTY_NAME="Buildroot 2022.11"
Untitled
00:00:00.000 [sway/main.c:347] Sway version 1.7
00:00:00.000 [sway/main.c:348] wlroots version 0.15.1
00:00:00.004 [sway/main.c:120] Linux BATOCERA 5.10.110 #1 SMP PREEMPT Thu Jan 26 15:35:40 Europe 2023 aarch64 GNU/Linux
00:00:00.005 [sway/main.c:136] Contents of /etc/os-release:
00:00:00.005 [sway/main.c:120] NAME=Buildroot
00:00:00.005 [sway/main.c:120] VERSION=2019.11-19267-g85f932712e
00:00:00.005 [sway/main.c:120] ID=buildroot
00:00:00.005 [sway/main.c:120] VERSION_ID=2022.11
00:00:00.005 [sway/main.c:120] PRETTY_NAME="Buildroot 2022.11"
00:00:00.005 [sway/main.c:108] LD_LIBRARY_PATH=
Untitled
#!/bin/bash

shopt -s expand_aliases
. ~/.profile

rm -f /tmp/gd

docker run -it --init --rm \
    -v $(pwd):/build \
    -v $(pwd)/dl:/build/buildroot/dl \
Untitled
#!/bin/bash

shopt -s expand_aliases
. ~/.profile

rm -f /tmp/gd
mkfifo /tmp/gd

idot /tmp/gd &
docker run -it --init --rm \
Untitled
#!/bin/bash

# when the program is called from a non X environment, handle the mouse
# maybe an other choice is better

if test -z "${DISPLAY}"
then
    export DISPLAY=:0.0
fi
Untitled
>>> retroarch v1.14.0 Configuring
(cd /rk3588/build/retroarch-v1.14.0; rm -rf config.cache; ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no  PATH="/rk3588/host/bin:/rk3588/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc-ar" AS="/rk3588/host/bin/aarch64-buildroot-linux-gnu-as" LD="/rk3588/host/bin/aarch64-buildroot-linux-gnu-ld" NM="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc-nm" CC="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc" GCC="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc" CPP="/rk3588/host/bin/aarch64-buildroot-linux-gnu-cpp" CXX="/rk3588/host/bin/aarch64-buildroot-linux-gnu-g++" FC="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gfortran" F77="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gfortran" RANLIB="/rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc-ranlib" READELF="/rk3588/host/bin/aarch64-buildroot-linux-gnu-readelf" STRIP="/rk3588/host/bin/aarch64-buildroot-linux-gnu-strip" OBJCOPY="/rk3588/host/bin/aarch64-buildroot-linux-gnu-objcopy" OBJDUMP="/rk3588/host/bin/aarch64-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/rk3588/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/rk3588/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/rk3588/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/rk3588/host/include" CFLAGS_FOR_BUILD="-O2 -I/rk3588/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/rk3588/host/include" LDFLAGS_FOR_BUILD="-L/rk3588/host/lib -Wl,-rpath,/rk3588/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/rk3588/host/bin/aarch64-buildroot-linux-gnu-as" DEFAULT_LINKER="/rk3588/host/bin/aarch64-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/rk3588/host/bin/pkg-config" STAGING_DIR="/rk3588/host/aarch64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -g0 -D_FORTIFY_SOURCE=1 " LDFLAGS=" -lmali_hook -Wl,--whole-archive -lmali_hook_injector -Wl,--no-whole-archive -lmali -lwayland-client -lc" CROSS_COMPILE="/rk3588/host/usr/bin/" ./configure --prefix=/usr --disable-oss --enable-zlib --disable-qt --enable-threads --enable-ozone --enable-xmb --disable-discord --enable-flac --enable-lua --enable-networking --enable-translate --enable-rgui --disable-cdrom --enable-ffmpeg --enable-sdl2 --enable-kms --disable-x11 --enable-alsa --enable-pulse --enable-opengles3 --enable-opengles --enable-opengles3_1 --enable-opengles --enable-egl --enable-zlib --enable-freetype --enable-odroidgo2 --disable-wayland )
Checking operating system ... Linux (Ubuntu 22.04.1 LTS 22.04)
Checking for suitable working C compiler ... /rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc works
Checking for suitable working C++ compiler ... /rk3588/host/bin/aarch64-buildroot-linux-gnu-g++ works
Checking for pkg-config ... /rk3588/host/usr/bin/pkg-config
Checking for availability of switch -std=gnu99 in /rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc ... no
Checking for availability of switch -std=c99 in /rk3588/host/bin/aarch64-buildroot-linux-gnu-gcc ... no
Cannot find a C99 compatible compiler.
make: *** [package/pkg-generic.mk:283: /rk3588/build/retroarch-v1.14.0/.stamp_configured] Error 1
gcc bork
hays@e2d32415e1bd:/rk3588$ /rk3588/host/usr/bin/aarch64-linux-gcc -v
Using built-in specs.
COLLECT_GCC=/rk3588/host/bin/aarch64-linux-gcc.br_real
COLLECT_LTO_WRAPPER=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/lto-wrapper
Target: aarch64-buildroot-linux-gnu
Configured with: ./configure --prefix=/rk3588/host --sysconfdir=/rk3588/host/etc --enable-static --target=aarch64-buildroot-linux-gnu --with-sysroot=/rk3588/host/aarch64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/rk3588/host --with-mpc=/rk3588/host --with-mpfr=/rk3588/host --with-pkgversion='Buildroot 2019.11-19258-g52a860b7bc' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --with-isl=/rk3588/host --with-abi=lp64 --with-cpu=cortex-a76.cortex-a55 --enable-languages=c,c++ --with-build-time-tools=/rk3588/host/aarch64-buildroot-linux-gnu/bin --enable-shared --enable-libgomp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.3.0 (Buildroot 2019.11-19258-g52a860b7bc) 
COMPILER_PATH=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/
sdl test program / wayland
write(1, "SDL_VIDEODRIVER selected : wayla"..., 35SDL_VIDEODRIVER selected : wayland
) = 35
openat(AT_FDCWD, "/lib64/libGLESv2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libGLESv2.so.2", O_RDONLY|O_CLOEXEC) = 8
read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(8, "", {st_mode=S_IFREG|0755, st_size=5784, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x7fa49e7000
mmap(0x7fa49e8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0) = 0x7fa49e8000
close(8)                                = 0
openat(AT_FDCWD, "/lib64/libmali_hook.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
Untitled
// g++ main.cpp `pkg-config --cflags --libs sdl2`
#include <SDL.h>
#include <iostream>
#include <vector>

int main( int argc, char** argv )
{
    SDL_Init( 0 );

    std::cout << "Testing video drivers..." << '\n';
Untitled
Using built-in specs.
COLLECT_GCC=/rk3588/host/bin/aarch64-linux-gcc.br_real
COLLECT_LTO_WRAPPER=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/lto-wrapper
Target: aarch64-buildroot-linux-gnu
Configured with: ./configure --prefix=/rk3588/host --sysconfdir=/rk3588/host/etc --enable-static --target=aarch64-buildroot-linux-gnu --with-sysroot=/rk3588/host/aarch64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/rk3588/host --with-mpc=/rk3588/host --with-mpfr=/rk3588/host --with-pkgversion='Buildroot 2019.11-19256-ga3b00f1bad' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --with-isl=/rk3588/host --with-abi=lp64 --with-cpu=cortex-a76.cortex-a55 --enable-languages=c,c++ --with-build-time-tools=/rk3588/host/aarch64-buildroot-linux-gnu/bin --enable-shared --enable-libgomp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.3.0 (Buildroot 2019.11-19256-ga3b00f1bad) 
COMPILER_PATH=/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/libexec/gcc/aarch64-buildroot-linux-gnu/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/
LIBRARY_PATH=/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/lib/../lib64/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/:/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/lib/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/lib/:/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/
Untitled
The method of partitioning below results in no "free space" shown before the vfat partition.
-------
genimage.cfg / https://github.com/pengutronix/genimage
-------
image boot.vfat {
	vfat {
		extraargs = "-F 32 -n BATOCERA"
		@files
	}
Untitled
tail -f output/rk3588/build/build-time.log | \
    xargs -IL \
    echo Package Count: $(find output/rk3588/build/ -type d -mindepth 1 -maxdepth 1 -printf . | wc -c ) \|  L
Untitled
>>> waylandpp 1.0.0 Configuring
(mkdir -p /rk3588/build/waylandpp-1.0.0/ && cd /rk3588/build/waylandpp-1.0.0/ && rm -f CMakeCache.txt && PATH="/rk3588/host/bin:/rk3588/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"  /usr/bin/cmake /rk3588/build/waylandpp-1.0.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/rk3588/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON  -DBUILD_LIBRARIES=ON -DBUILD_SCANNER=OFF -DWAYLAND_SCANNERPP=/rk3588/host/bin/wayland-scanner++ )
-- The CXX compiler identification is GNU 11.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /rk3588/host/bin/aarch64-buildroot-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /rk3588/host/bin/pkg-config (found version "1.6.3") 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
Untitled
[100%] Linking CXX executable kodi.bin
/usr/bin/cmake -E cmake_link_script CMakeFiles/kodi.dir/link.txt --verbose=1
/rk3588/host/bin/aarch64-buildroot-linux-gnu-g++ --sysroot=/rk3588/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Wall  -DNDEBUG -s -latomic -Wl,--export-dynamic CMakeFiles/kodi.dir/xbmc/platform/posix/main.cpp.o -o kodi.bin  -Wl,--whole-archive build/network/httprequesthandler/python/network_httprequesthandlers_python.a build/network/httprequesthandler/network_httprequesthandlers.a build/network/upnp/network_upnp.a build/upnp/libupnp.a build/swig/libpython_binding.a build/interfaces/python/python_interface.a build/interfaces/legacy/wsgi/legacy_interface_wsgi.a build/interfaces/legacy/legacy_interface.a build/rendering/gles/rendering_gles.a build/network/dacp/network_dacp.a build/cdrip/cdrip.a build/platform/linux/network/zeroconf/platform_linux_network_zeroconf.a build/windowing/linux/windowing_linux.a build/platform/posix/utils/platform_posix_utils.a build/platform/posix/network/platform_posix_network.a build/platform/posix/filesystem/platform_posix_filesystem.a build/platform/posix/platform_posix.a build/platform/linux/storage/platform_linux_storage.a build/platform/linux/powermanagement/platform_linux_powermanagement.a build/platform/linux/peripherals/platform_linux_peripherals.a build/platform/linux/network/platform_linux_network.a build/platform/linux/input/input_linux.a build/platform/linux/linuxsupport.a build/input/touch/generic/input_touch_generic.a build/input/touch/input_touch.a build/cores/VideoPlayer/videorenderers/shaders/videoshaders.a build/cores/VideoPlayer/videorenderers/hwdec/videorenderers_hwdec.a build/cores/VideoPlayer/videorenderers/videorenderers.a build/cores/VideoPlayer/process/process.a build/cores/VideoPlayer/subtitles/dvdsubtitles.a build/cores/VideoPlayer/inputstreams/dvdinputstreams.a build/cores/VideoPlayer/demuxers/dvddemuxers.a build/cores/VideoPlayer/codecs/video/dvdvideocodecs.a build/cores/VideoPlayer/codecs/overlay/dvdoverlaycodecs.a build/cores/VideoPlayer/codecs/audio/dvdaudiocodecs.a build/cores/VideoPlayer/codecs/dvdcodecs.a build/cores/VideoPlayer/Buffers/videoplayer-buffers.a build/cores/VideoPlayer/VideoPlayer.a build/video/windows/video_windows.a build/video/tags/video_tags.a build/video/jobs/video_jobs.a build/video/dialogs/video_dialogs.a build/video/video.a build/windows/windows.a build/windowing/windowing.a build/weather/weather.a build/view/view.a build/utils/utils.a build/threads/threads.a build/storage/storage.a build/rendering/rendering.a build/programs/programs.a build/powermanagement/powermanagement.a build/playlists/playlists.a build/platform/platform_common.a build/pictures/pictures.a build/messagingHelpers/messagingHelpers.a build/messaging/messaging.a build/listproviders/listproviders.a build/input/mouse/generic/input_mouse_generic.a build/input/mouse/input_mouse.a build/input/keyboard/generic/input_keyboard_generic.a build/input/keyboard/input_keyboard.a build/input/joysticks/keymaps/input_joystick_keymaps.a build/input/joysticks/generic/input_joystick_generic.a build/input/joysticks/dialogs/input_joystick_dialogs.a build/input/joysticks/input_joystick.a build/input/button/input_button.a build/input/actions/input_actions.a build/input/input.a build/guilib_guiinfo/guilib_guiinfo.a build/guilib/guilib.a build/favourites/favourites.a build/dialogs/dialogs.a build/dbwrappers/dbwrappers.a build/commons/commons.a build/addons_settings/addons_settings.a build/addons_interfaces_gui_dialogs/addons_interfaces_gui_dialogs.a build/addons_interfaces_gui_controls/addons_interfaces_gui_controls.a build/addons_interfaces_gui/addons_interfaces_gui.a build/addons_interfaces/addons_interfaces.a build/addons_gui/addons_gui.a build/addons_binary-addons/addons_binary-addons.a build/addons_addoninfo/addons_addoninfo.a build/addons/addons.a build/xbmc/xbmc.a build/settings/windows/settings_windows.a build/settings/lib/settings_lib.a build/settings/dialogs/settings_dialogs.a build/settings/settings.a build/cores/RetroPlayer/streams/memory/retroplayer_memory.a build/cores/RetroPlayer/streams/retroplayer_streams.a build/cores/RetroPlayer/savestates/retroplayer_savestates.a build/cores/RetroPlayer/rendering/VideoRenderers/rp-videorenderers.a build/cores/RetroPlayer/rendering/rp-rendering.a build/cores/RetroPlayer/process/rp-process.a build/cores/RetroPlayer/playback/retroplayer_playback.a build/cores/RetroPlayer/guiwindows/retroplayer_guiwindows.a build/cores/RetroPlayer/guiplayback/retroplayer_guiplayback.a build/cores/RetroPlayer/guicontrols/retroplayer_guicontrols.a build/cores/RetroPlayer/guibridge/retroplayer_guibridge.a build/cores/RetroPlayer/buffers/video/rp-buffers-video.a build/cores/RetroPlayer/buffers/rp-buffers.a build/cores/RetroPlayer/audio/rp_audio.a build/cores/RetroPlayer/retroplayer.a build/pvr/windows/pvr_windows.a build/pvr/timers/pvr_timers.a build/pvr/settings/pvr_settings.a build/pvr/recordings/pvr_recordings.a build/pvr/guilib/guiinfo/pvr_guilib_guiinfo.a build/pvr/guilib/pvr_guilib.a build/pvr/filesystem/pvr_filesystem.a build/pvr/epg/pvr_epg.a build/pvr/dialogs/pvr_dialogs.a build/pvr/channels/pvr_channels.a build/pvr/addons/pvr_addons.a build/pvr/pvr.a build/profiles/windows/profiles_windows.a build/profiles/dialogs/profiles_dialogs.a build/profiles/profiles.a build/peripherals/dialogs/peripherals_dialogs.a build/peripherals/devices/peripherals_devices.a build/peripherals/bus/virtual/peripheral_bus_virtual.a build/peripherals/bus/peripherals_bus.a build/peripherals/addons/peripherals_addons.a build/peripherals/peripherals.a build/network/websocket/network_websockets.a build/network/network.a build/music/windows/music_windows.a build/music/tags/music_tags.a build/music/jobs/music_jobs.a build/music/infoscanner/music_infoscanner.a build/music/dialogs/music_dialogs.a build/music/music.a build/drm/drm.a build/media/media.a build/interfaces/json-rpc/jsonrpc_interface.a build/interfaces/info/info_interface.a build/interfaces/generic/generic_interface.a build/interfaces/builtins/interfaces_builtins.a build/interfaces/interfaces.a build/games/windows/gameswindows.a build/games/tags/gametags.a build/games/ports/gameports.a build/games/dialogs/osd/gameosddialogs.a build/games/dialogs/gamedialogs.a build/games/controllers/windows/games_controller_windows.a build/games/controllers/types/games_controller_types.a build/games/controllers/guicontrols/games_controller_guicontrols.a build/games/controllers/dialogs/games_controller_dialogs.a build/games/controllers/games_controller.a build/games/addons/streams/game_addon_streams.a build/games/addons/input/gameinput.a build/games/addons/gameaddons.a build/games/games.a build/filesystem/videodatabase/videodatabasedirectory.a build/filesystem/musicdatabase/musicdatabasedirectory.a build/filesystem/filesystem.a build/kissfft/kissfft.a build/events/windows/events_windows.a build/events/events.a build/cores/playercorefactory/playercorefactory.a build/cores/paplayer/paplayer.a build/cores/externalplayer/externalplayer.a build/cores/dll-loader/exports/util/exports_utils.a build/cores/dll-loader/exports/dllexports.a build/cores/dll-loader/dllloader.a build/cores/audioengine/audioengine.a build/cores/cores.a build/windowing/wayland/windowing_WAYLAND.a build/cores/VideoPlayer/Process/wayland/processWayland.a build/cores/RetroPlayer/process/wayland/rp-process-wayland.a build/windowing/gbm/windowing_gbm.a build/windowing/gbm/drm/windowing_gbm_drm.a build/cores/VideoPlayer/Process/gbm/processGBM.a build/cores/RetroPlayer/process/gbm/rp-process-gbm.a -Wl,--no-whole-archive libkodi.a /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libasound.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavahi-client.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavahi-common.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libbluray.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcec.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libdbus-1.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libiso9660++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libiso9660.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcdio.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblirc_client.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libmicrohttpd.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libnfs.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libplist-2.0.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpython3.10.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libsmbclient.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libass.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcdio.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrossguid.a /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libuuid.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavcodec.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavfilter.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavformat.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavutil.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libswscale.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libswresample.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpostproc.so -L/rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib -lavcodec -lavfilter -lavformat -lavutil -lswscale -lswresample -lpostproc /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfmt.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfreetype.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfribidi.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfstrcmp.a -lc build/libdvd/lib/libdvdnav.a build/libdvd/lib/libdvdread.a build/libdvd/lib/libdvdcss.a /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzo2.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcrecpp.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcre.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libspdlog.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libsqlite3.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libtag.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libtinyxml.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libEGL.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libgbm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libdrm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libinput.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libxkbcommon.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libGLESv2.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-client++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-cursor++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-egl++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libdrm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libxkbcommon.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libGLESv2.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libEGL.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libmysqlclient.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libshairplay.so build/network/httprequesthandler/python/network_httprequesthandlers_python.a build/network/httprequesthandler/network_httprequesthandlers.a build/network/upnp/network_upnp.a build/swig/libpython_binding.a build/interfaces/python/python_interface.a build/interfaces/legacy/wsgi/legacy_interface_wsgi.a build/interfaces/legacy/legacy_interface.a build/rendering/gles/rendering_gles.a build/network/dacp/network_dacp.a build/cdrip/cdrip.a build/platform/linux/network/zeroconf/platform_linux_network_zeroconf.a build/windowing/linux/windowing_linux.a build/platform/posix/utils/platform_posix_utils.a build/platform/posix/network/platform_posix_network.a build/platform/posix/filesystem/platform_posix_filesystem.a build/platform/posix/platform_posix.a build/platform/linux/storage/platform_linux_storage.a build/platform/linux/powermanagement/platform_linux_powermanagement.a build/platform/linux/peripherals/platform_linux_peripherals.a build/platform/linux/network/platform_linux_network.a build/platform/linux/input/input_linux.a build/platform/linux/linuxsupport.a build/input/touch/generic/input_touch_generic.a build/input/touch/input_touch.a build/cores/VideoPlayer/videorenderers/shaders/videoshaders.a build/cores/VideoPlayer/videorenderers/hwdec/videorenderers_hwdec.a build/cores/VideoPlayer/videorenderers/videorenderers.a build/cores/VideoPlayer/process/process.a build/cores/VideoPlayer/subtitles/dvdsubtitles.a build/cores/VideoPlayer/inputstreams/dvdinputstreams.a build/cores/VideoPlayer/demuxers/dvddemuxers.a build/cores/VideoPlayer/codecs/video/dvdvideocodecs.a build/cores/VideoPlayer/codecs/overlay/dvdoverlaycodecs.a build/cores/VideoPlayer/codecs/audio/dvdaudiocodecs.a build/cores/VideoPlayer/codecs/dvdcodecs.a build/cores/VideoPlayer/Buffers/videoplayer-buffers.a build/cores/VideoPlayer/VideoPlayer.a build/video/windows/video_windows.a build/video/tags/video_tags.a build/video/jobs/video_jobs.a build/video/dialogs/video_dialogs.a build/video/video.a build/windows/windows.a build/windowing/windowing.a build/weather/weather.a build/view/view.a build/utils/utils.a build/threads/threads.a build/storage/storage.a build/rendering/rendering.a build/programs/programs.a build/powermanagement/powermanagement.a build/playlists/playlists.a build/platform/platform_common.a build/pictures/pictures.a build/messagingHelpers/messagingHelpers.a build/messaging/messaging.a build/listproviders/listproviders.a build/input/mouse/generic/input_mouse_generic.a build/input/mouse/input_mouse.a build/input/keyboard/generic/input_keyboard_generic.a build/input/keyboard/input_keyboard.a build/input/joysticks/keymaps/input_joystick_keymaps.a build/input/joysticks/generic/input_joystick_generic.a build/input/joysticks/dialogs/input_joystick_dialogs.a build/input/joysticks/input_joystick.a build/input/button/input_button.a build/input/actions/input_actions.a build/input/input.a build/guilib_guiinfo/guilib_guiinfo.a build/guilib/guilib.a build/favourites/favourites.a build/dialogs/dialogs.a build/dbwrappers/dbwrappers.a build/commons/commons.a build/addons_settings/addons_settings.a build/addons_interfaces_gui_dialogs/addons_interfaces_gui_dialogs.a build/addons_interfaces_gui_controls/addons_interfaces_gui_controls.a build/addons_interfaces_gui/addons_interfaces_gui.a build/addons_interfaces/addons_interfaces.a build/addons_gui/addons_gui.a build/addons_binary-addons/addons_binary-addons.a build/addons_addoninfo/addons_addoninfo.a build/addons/addons.a build/xbmc/xbmc.a build/settings/windows/settings_windows.a build/settings/lib/settings_lib.a build/settings/dialogs/settings_dialogs.a build/settings/settings.a build/cores/RetroPlayer/streams/memory/retroplayer_memory.a build/cores/RetroPlayer/streams/retroplayer_streams.a build/cores/RetroPlayer/savestates/retroplayer_savestates.a build/cores/RetroPlayer/rendering/VideoRenderers/rp-videorenderers.a build/cores/RetroPlayer/rendering/rp-rendering.a build/cores/RetroPlayer/process/rp-process.a build/cores/RetroPlayer/playback/retroplayer_playback.a build/cores/RetroPlayer/guiwindows/retroplayer_guiwindows.a build/cores/RetroPlayer/guiplayback/retroplayer_guiplayback.a build/cores/RetroPlayer/guicontrols/retroplayer_guicontrols.a build/cores/RetroPlayer/guibridge/retroplayer_guibridge.a build/cores/RetroPlayer/buffers/video/rp-buffers-video.a build/cores/RetroPlayer/buffers/rp-buffers.a build/cores/RetroPlayer/audio/rp_audio.a build/cores/RetroPlayer/retroplayer.a build/pvr/windows/pvr_windows.a build/pvr/timers/pvr_timers.a build/pvr/settings/pvr_settings.a build/pvr/recordings/pvr_recordings.a build/pvr/guilib/guiinfo/pvr_guilib_guiinfo.a build/pvr/guilib/pvr_guilib.a build/pvr/filesystem/pvr_filesystem.a build/pvr/epg/pvr_epg.a build/pvr/dialogs/pvr_dialogs.a build/pvr/channels/pvr_channels.a build/pvr/addons/pvr_addons.a build/pvr/pvr.a build/profiles/windows/profiles_windows.a build/profiles/dialogs/profiles_dialogs.a build/profiles/profiles.a build/peripherals/dialogs/peripherals_dialogs.a build/peripherals/devices/peripherals_devices.a build/peripherals/bus/virtual/peripheral_bus_virtual.a build/peripherals/bus/peripherals_bus.a build/peripherals/addons/peripherals_addons.a build/peripherals/peripherals.a build/network/websocket/network_websockets.a build/network/network.a build/music/windows/music_windows.a build/music/tags/music_tags.a build/music/jobs/music_jobs.a build/music/infoscanner/music_infoscanner.a build/music/dialogs/music_dialogs.a build/music/music.a build/drm/drm.a build/media/media.a build/interfaces/json-rpc/jsonrpc_interface.a build/interfaces/info/info_interface.a build/interfaces/generic/generic_interface.a build/interfaces/builtins/interfaces_builtins.a build/interfaces/interfaces.a build/games/windows/gameswindows.a build/games/tags/gametags.a build/games/ports/gameports.a build/games/dialogs/osd/gameosddialogs.a build/games/dialogs/gamedialogs.a build/games/controllers/windows/games_controller_windows.a build/games/controllers/types/games_controller_types.a build/games/controllers/guicontrols/games_controller_guicontrols.a build/games/controllers/dialogs/games_controller_dialogs.a build/games/controllers/games_controller.a build/games/addons/streams/game_addon_streams.a build/games/addons/input/gameinput.a build/games/addons/gameaddons.a build/games/games.a build/filesystem/videodatabase/videodatabasedirectory.a build/filesystem/musicdatabase/musicdatabasedirectory.a build/filesystem/filesystem.a build/upnp/libupnp.a build/kissfft/kissfft.a build/events/windows/events_windows.a build/events/events.a build/cores/playercorefactory/playercorefactory.a build/cores/paplayer/paplayer.a build/cores/externalplayer/externalplayer.a build/cores/dll-loader/exports/util/exports_utils.a build/cores/dll-loader/exports/dllexports.a build/cores/dll-loader/dllloader.a build/cores/audioengine/audioengine.a build/cores/cores.a build/windowing/wayland/windowing_WAYLAND.a build/cores/VideoPlayer/Process/wayland/processWayland.a build/cores/RetroPlayer/process/wayland/rp-process-wayland.a build/windowing/gbm/windowing_gbm.a build/windowing/gbm/drm/windowing_gbm_drm.a build/cores/VideoPlayer/Process/gbm/processGBM.a build/cores/RetroPlayer/process/gbm/rp-process-gbm.a /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblirc_client.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libmicrohttpd.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libnfs.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libplist-2.0.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpython3.10.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libsmbclient.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libass.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrossguid.a /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libuuid.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcurl.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavcodec.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavfilter.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavformat.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libavutil.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libswscale.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libswresample.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpostproc.so -lavcodec -lavfilter -lavformat -lavutil -lswscale -lswresample -lpostproc /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfmt.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfreetype.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfribidi.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libfstrcmp.a -lc build/libdvd/lib/libdvdnav.a build/libdvd/lib/libdvdread.a build/libdvd/lib/libdvdcss.a /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/liblzo2.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libssl.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcrecpp.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libpcre.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libspdlog.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libsqlite3.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libtag.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libtinyxml.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libz.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libEGL.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libgbm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libdrm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libinput.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libxkbcommon.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libGLESv2.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-client++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-cursor++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-egl++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libEGL.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libgbm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libdrm.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libinput.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libxkbcommon.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libGLESv2.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-client++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-cursor++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libwayland-egl++.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libmysqlclient.so /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libshairplay.so -ldl 
/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: build/rendering/gles/rendering_gles.a(RenderSystemGLES.cpp.o): undefined reference to symbol 'eglGetProcAddress'
/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib64/libmali_hook.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/kodi.dir/build.make:570: kodi.bin] Error 1
Untitled
Error:

/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: build/rendering/gles/rendering_gles.a(RenderSystemGLES.cpp.o): undefined reference to symbol 'eglGetProcAddress'
/rk3588/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /rk3588/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib64/libmali_hook.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Library Contents:

nm -D libmali.so.1 | grep eglGetProcAddress
00000000005ab560 T eglGetProcAddress
Untitled
prefix=/usr
includedir=${prefix}/include
libdir=${prefix}/lib

Name: gbm
Description: Mali GPU User-Space Binary Driver Wrappers
Version: 21.2.6
Requires: libdrm, x11, xcb, x11-xcb, xcb-dri2
Libs: -L${libdir} -lmali_hook -Wl,--whole-archive -lmali_hook_injector -Wl,--no-whole-archive -lmali
Cflags: -I${includedir}
Untitled
config BR2_PACKAGE_BATOCERA_KODI19
	bool "batocera.linux Kodi19 packages selection"
	default n
	select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND	if !BR_PACKAGE_BATOCERA_TARGET_RK3588
	select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11		if BR_PACKAGE_BATOCERA_TARGET_RK3588
	select BR2_PACKAGE_KODI                 # kodi
Untitled
config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11
        bool
        default y
        depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
        depends on BR2_PACKAGE_XORG7
        select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS