dde_linux port fatal error - sculpt for virt qemu riscv

Sebastian Sumpf Sebastian.Sumpf at genode-labs.com
Thu Apr 13 08:48:27 CEST 2023


Hello Pranab,

On 4/12/23 21:38, Pranab Rout wrote:
> Hello genodians,
> While building sculpt for virt_qemu_riscv, I came across the following error, 
> which I believe is related to dde_linux. Please have a look and kindly suggest 
> the modifications required.
> 
>     checking library dependencies...
>        Library ldso_so_support
>          COMPILE  so_support.o
>          MERGE    ldso_so_support.lib.a
>        Library ld
>          CONVERT  ld.symbols.s
>          ASSEMBLE ld.symbols.o
>          MERGE ld.abi.so <http://ld.abi.so>
>        Library base
>          MERGE    base.lib.a
>        Library config
>          MERGE    config.lib.a
>        Library lxip_include
>          MERGE    lxip_include.lib.a
>        Library lxip
>          COMPILE  bug.o
>          COMPILE  driver.o
>     In file included from <command-line>:
>     /home/genode/depot/genodelabs/src/vfs_lxip/2022-11-28/src/lib/lxip/include/lx_emul.h:174:10: fatal error: legacy/lx_emul/barrier.h: No such file or directory
>        174 | #include <legacy/lx_emul/barrier.h>
>            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
>     compilation terminated.
>     make[7]: *** [/home/genode/repos/base/mk/generic.mk:58
>     <http://generic.mk:58>: driver.o] Error 1
>     make[6]: *** [var/libdeps:116: lxip.lib] Error 2
>     make[5]: *** [Makefile:336: gen_deps_and_build_targets] Error 2
>     make[4]: *** [/home/genode/tool/depot/mk/build_bin_archive:208:
>     /home/genode/depot/genodelabs/bin/riscv/vfs_lxip/2022-11-28.build/bin] Error 1
>     make[3]: *** [/home/genode/depot/var/build.mk:264 <http://build.mk:264>:
>     genodelabs/bin/riscv/vfs_lxip/2022-11-28] Error 2
>     make[2]: *** [/home/genode/tool/depot/build:136:
>     execute_generated_build_mk_file] Error 2
>     make[1]: *** [/home/genode/tool/depot/create:59: build] Error 2
>     make[1]: Leaving directory '/home/genode/build/riscv'
> 
> Please help me in understanding the problem and suggest some way out.
> 

In addition to Christians comments. You will have to write assembly.

You could also use lwip [1] instead of lxip which works already on RISC-V.

[1] https://github.com/genodelabs/genode/tree/master/repos/libports/src/lib/lwip

Good luck,

Sebastian


-- 
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth







More information about the users mailing list