Goa: build libraries fails on arm_v8a
Sebastian.Sumpf at genode-labs.com
Wed Feb 1 13:26:04 CET 2023
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
> The Goa project can be found as follows:
> - repository: git at github.com:trimpim/wasmedge-genode.git
> - branch: llvm-arm_v8a_failure
> For Goa to build libraries the following version is required:
> - repository: git at 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  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.
> Genode users mailing list
> users at lists.genode.org
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 453 bytes
Desc: not available
More information about the users