It is just upstream genode + 1 commit (my changes)
git clone https://github.com/genodelabs/genode.git genode-questioncd genode-question./tool/ports/prepare_port sel4./tool/ports/prepare_port grub2./tool/create_builddir x86_64
git apply 26a79e7f1a77b99fb3b555198a29c638fd510bf4.diff
cd build/x86_64make run/thread KERNEL=sel4
Error: size of '_ZTVN6Genode17Region_map_clientE' symbol violates ld ABI (72 bytes in ABI, 80 bytes in library)make[3]: *** [/home/siagraw/genode/repos/base/mk/lib.mk:244: ld-sel4.lib.checked] Error 255make[2]: *** [var/libdeps:200: ld-sel4.lib] Error 2
Program lib/ld/sel4/ld-sel4make[1]: Leaving directory '/home/siagraw/genode/build/x86_64'genode build completedusing 'core-sel4.a' as 'core.a'using 'ld-sel4.lib.so' as 'ld.lib.so'/usr/local/genode/tool/21.05/bin/../lib/gcc/x86_64-pc-elf/10.3.0/../../../../x86_64-pc-elf/bin/ld: debug/core-sel4.a(region_map_client.o):(.data.rel.ro._ZTVN6Genode17Region_map_clientE[_ZTVN6Genode17Region_map_clientE]+0x40): u'collect2: error: ld returned 1 exit statuswhile executing"exec [cross_dev_prefix]g++ {*}$arch -nostdlib {*}[core_ld_opts] -Wl,-z -Wl,max-page-size=0x1000 -Wl,-Ttext=$link_address -Wl,-gc-sections -Wl,-nost..."(procedure "build_core" line 18)invoked from within"build_core debug/$core_obj {} [run_dir].core [core_link_address]"(procedure "build_core_image" line 16)invoked from within"build_core_image $binaries"(procedure "run_boot_dir" line 19)invoked from within"run_boot_dir $binaries"(procedure "build_boot_image" line 35)invoked from within"build_boot_image "core ld.lib.so init test-thread""(file "/home/siagraw/genode/repos/base/run/thread.run" line 48)invoked from within"source $include_name"("foreach" body line 6)invoked from within"foreach include_name [get_cmd_arg --include ""] {# first check if the include name is absoluteif {[string first "/" $include_name] == 0} {puts ..."(file "/home/siagraw/genode/tool/run/run" line 1115)make: *** [Makefile:405: run/thread] Error 1