Awesome thanks! Coincidently next week I'm going to start back on this again. But yes, a couple months ago i ended up switching to gold linker in the NDK as well... I was getting a different error with lld and gold didn't seem to have the issue. But ya, that will save me a lot of startup time if you've got gnustep-2.0 runtime on arm64 working!
Hi Jordan,
Just wanted to follow up on this:
It looks like Google also offers prebuilds of newer clang releases that should include the fix above:
I haven’t fully figured out how to integrate these in the NDK (some info here) but it might be easier than doing a full build yourself.
I managed to write a script that integrates the latest Clang prebuilt (r353983d) into the NDK (r20) by performing the same steps as Clang.install() in checkbuild.sh: This along with switching to the gold linker lets me use the gnustep-2.0 runtime for both arm32 and arm64 on Android. I thought this may be useful to you as well.
Frederik
|