1. cd crosstool-ng
./configure --enable-local
make
make install
2. ./ct-ng menuconfig
3. ./ct-ng build
note:
please replace the four files in crosstool-ng/.build/src/gcc-5.2.0/gcc/cp/, Make-language.in, cfns.gperf, cfns.h , execpt.c,
as mentioned in link
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959
and
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=233720