alexander.boettcher at genode-labs.com
Thu Aug 5 21:26:56 CEST 2021
On 05.08.21 04:20, Dan Connolly wrote:
> working on getting it running under genode in fits and starts.
> In my most recent episode, I can get goa build to work, but when I try
> goa run, I get:
> [init -> genode-js-xs] Error: LD: ELF without DYNAMIC segment appears
> to be statically linked (ld="no")
> `file hello` says:
> ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
> linked, interpreter ld.lib.so, with debug_info, not stripped
> I put the full link command in https://github.com/dckc/genode-js-xs/pull/12
> Any clues on how to diagnose / fix? What does (ld="no") mean?
Does readelf -l hello shows a DYNAMIC program header ?
In case your file is statically linked, you need the ld="no" option, e.g.
<start name="hello" ld="no">
https://www.genodians.org - https://www.genode.org
More information about the users