This is a cache of It is a snapshot of the page at 2020-02-10T16:03:04.349+0000.
Use linaro linux android compiler problem - DragonBoard410c - 96Boards Forum

Use linaro linux android compiler problem


I am changing the tool chain to compile the Android source tree. The default tool chain comes with the source does not work out (getting segmentation fault) on my laptop (intel Core M processor)

The tool chain I changed to is “aarch64-linux-android-4.9-linaro” which I get from here:

git clone prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9

The segmentation fault problem does go away but another problem comes: the ld does not recognize "–fix-cortex-a53-843419’ option.

Does anyone use “aarch64-linux-android-linaro-4.9”? how do I fix it or just point me to download the right binary?

I checked there is a linaro cross compiler for debian for 410c board, but that one is not for android (the folder names and binary names are all different to the ones in android source tree).


Can you try the stock google prebuilt toolchain in the NDK to see if it makes a difference?
or download the latest NDK from:

You can find the latest linaro android toolchains here:

If you need 4.9 with the 843419 patch, please try the AOSP toolchain. They might have patched theirs.