Hello Pirmin,
On Tue, Dec 20, 2022 at 15:21:04 CET, Pirmin Duss wrote:
While Testing the `wasmedge` application that I'm porting with the Goa tool (goa run), I get the following errors:
Error: _map_local: lx_mmap failed(addr_in=0x0, addr_out=0xffffffffffffffed/-19) overmap=0 Error: LD: exception during program load: 'Genode::Region_map::Region_conflict' Error: Uncaughht exception of type 'Genode::Region_map::Region_conflict' Warning: abort called - thread: ep
I tried to follow the path that leads to this by adding some debug prints to the code in base-linux. If I'm not mistaken, the error happens, when in `load_phdr()` in the file `base/src/lib/ldso/include/file.h` a temporary dataspace is created.
The return value of mmap() is -19 "No such device" which is documented in the man page like follows.
ENODEV The underlying filesystem of the specified file does not support memory mapping.
Did you log the file name of the Elf_file? Where is it located? What's the output of "objdump -p elf_file"?
Greets