Hello Pirmin,
On 2/1/23 08:49, Duss Pirmin wrote:
On 31.01.23 19:39, Sebastian Sumpf wrote:
These are some very old issues (2011). Could you let me know how to reproduce this?
The Goa project can be found as follows: - repository: git@github.com:trimpim/wasmedge-genode.git - branch: llvm-arm_v8a_failure
For Goa to build libraries the following version is required: - repository: git@gitlab.com:/gapfruit-community/goa.git - branch: library_support
This, I could not find and used the one from GitHub.
In the llvm directory execute the following commands:
goa build-dir goa build
In theory `goa build` should suffice, but for some reason this fails with some compiler errors. As it works by issuing the commands separate, I did not investigate further.
The attached patch [1] resolves the linking error for me, somehow the .got ended up first in the DYNAMIC segment. Can you please check if it works for you? However, I see a lot of undefined references to cxx.lib.a and pthread stuff afterwards. Looks like "-Lllvm/var/abi/arm_v8a" is missing in the linking command of libc++.lib.so. Additionally, "-lgcc" seems a little dangerous.
Regards,
Sebastian
[1] dynamic.patch
Regards, Pirmin
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users