link error when trying to run XS JavaScript engine

Alexander Boettcher alexander.boettcher at
Thu Aug 5 21:26:56 CEST 2021


On 05.08.21 04:20, Dan Connolly wrote:
> XS is a JavaScript engine designed for microcontrollers. I have been
> 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, with debug_info, not stripped
> I put the full link command in
> 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">



Alexander Boettcher
Genode Labs -

More information about the users mailing list