Hello Sebastian
Thanks for the quick patch.
On 01.02.23 13:26, Sebastian Sumpf wrote:
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.
This was okay. Sorry for putting the wrong repository there.
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.
The patch indeed fixes the problem. I get the same linker errors that you described now.
I think, these I can fix, by tweaking the Goa project.
Regards, Pirmin