Is it possible to get the Android NDK GCC toolchain source code? AOSP/NDK already comes with a precompiled toolchain but I'd like to have the source code and compile the toolchain myself to enable some features of GCC not available in the NDK toolchain version.
Yes, you can find instructions (how to fix and commit something) here: https://source.android.com/source/downloading.html
And toolchains here (GCC,Binutils and etc):
https://android.googlesource.com/toolchain/