rump files missing fatal error on virt qemu riscv

Sebastian Sumpf Sebastian.Sumpf at genode-labs.com
Thu Mar 2 09:42:44 CET 2023


Hi Pranab,

yes RISC-V is not enabled for rump. The rump specific contrib files are present 
in "<contrib>/dde_rump-<hash>/lib/dde_rump_aarch64_backport/riscv". You could 
try to use the same approach as for arm_v8a (aarch64) as found under 
"repos/dde_rump/lib/mk/spec/arm_64/*" just for "spec/riscv" in order to enable 
rump support for RISC-V.

Good luck,

Sebastian

On 3/2/23 07:52, Pranab Kumar Rout cs21m045 wrote:
> Hi all,
> While building the sculpt for virt_qemu_riscv, I got the following fatal error.
> checking library dependencies...
> Library-description file rump.mk <http://rump.mk> is missing
>    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 block_session
>      MERGE    block_session.lib.a
>    Library config
>      MERGE    config.lib.a
>    Library file_system
>      MERGE    file_system.lib.a
>    Library file_system_session
>      MERGE    file_system_session.lib.a
>    Library os
>      MERGE    os.lib.a
>    Library rump_tools
>      MERGE    rump_tools.lib.a
>    Library rump_fs
>      COMPILE  autoconf.o
> In file included from 
> /genode/depot/genodelabs/src/rump/2022-11-28/src/lib/dde_rump/src/sys/rump/librump/rumpdev/autoconf.c:28:
> genode/depot/genodelabs/src/rump/2022-11-28/src/lib/dde_rump/src/sys/sys/cdefs.h:58:10: fatal error: machine/cdefs.h: No such file or directory
>     58 | #include <machine/cdefs.h>
>        |          ^~~~~~~~~~~~~~~~~
> compilation terminated.
> make[7]: *** [/genode/repos/base/mk/generic.mk:58 <http://generic.mk:58>: 
> autoconf.o] Error 1
> make[6]: *** [var/libdeps:187: rump_fs.lib] Error 2
> make[5]: *** [Makefile:336: gen_deps_and_build_targets] Error 2
> make[4]: *** [genode/tool/depot/mk/build_bin_archive:208: 
> /genode/depot/genodelabs/bin/riscv/rump/2022-11-28.build/bin] Error 1
> make[3]: *** [/genode/depot/var/build.mk:264 <http://build.mk:264>: 
> genodelabs/bin/riscv/rump/2022-11-28] Error 2
> make[2]: *** [/genode/tool/depot/build:136: execute_generated_build_mk_file] Error 2
> make[1]: *** [/genode/tool/depot/create:59: build] Error 2
> make[1]: Leaving directory '/genode/build/riscv'
> 
> It seems some ports are not prepared for riscv. Kindly suggest what 
> files/directories are to be added and which files require changes.
> 
> Thanks and regards,
> Pranab
> 
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users

-- 
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