Kernel compile fails on “make”. After multiple unsuccessful attempts, cleaning the kernel tree after each attempt with:
$ make clean $ make distclean $ make mrproper
You start to notice that the failure point of “make” is different each time.
Memory corruption during compile. The memory corruption is caused by overclocking the Pi with settings that make it unstable. The CPU, GPU and SDRAM clock settings written to /boot/config.txt by the overclock applet provided in Raspbain and NOOBS provides unstable settings. This has been confirmed by reference to  where they have carried out extensive measurements into the ideal settings for overclocking the Pi 2.
Either return CPU, GPU and SDRAM clocks to safe default values and accept increased compile time (if you compile directly on the Pi) or use the settings recommended by .