Goa: build libraries fails on arm_v8a
Sebastian Sumpf
Sebastian.Sumpf at genode-labs.com
Wed Feb 1 13:26:04 CET 2023
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 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 [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 at lists.genode.org
> https://lists.genode.org/listinfo/users
--
Sebastian Sumpf
Genode Labs
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...
Name: dynamic.patch
Type: text/x-patch
Size: 453 bytes
Desc: not available
URL: <http://lists.genode.org/pipermail/users/attachments/20230201/b797f948/attachment.bin>
More information about the users
mailing list