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 https://android.git.linaro.org/git-ro/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-linaro.git 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).