android arm64-v8a build faild
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 475
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Hi:
Does anyone have this problem when link to android arm64-v8a (armv7a and x86 is ok)?
error log:
src/third_party/android_ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld.gold: fatal error: -shared and -pie are incompatible
clang: error: linker command failed with exit code 1 (use -v to see invocation)
linux version: Ubuntu 16.04.6 LTS
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the arm64-v8a link using the referenced Android toolchain path and compare it with the working armv7a and x86 builds. Investigate the reported ld.gold error about -shared and -pie, then verify that the arm64-v8a build links successfully without that failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp, linux
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100