[Xperia Z Original Android Development] BrateloSlava:
I have almost two days normally worked the following configuration:

cm-11-20140701-UNOFFICIAL-yuga.zip

pa_gapps-modular-mini-4.4.4-20140629-signed.zip

But then again, Google's services began to eat battery. Now I charged the battery and I will install a new version from scratch.

is no longer relevant

ADD.

I'm try to use sm-arm-eabi-4.10, and my compile script looks like this:

# toolchain
TOOLCHAIN=${HOME}/sm-arm-eabi-4.10/bin/arm-eabi-
export ARCH=arm
export SUBARCH=arm
# Get Build Startup Time
DATE_START=$(date +"%s")
rm -rf ~/Kernel_output/zImage
rm -rf ~/Kernel_output/*.img
rm -rf ~/Kernel_output/modules/*
make CROSS_COMPILE=$TOOLCHAIN -j`grep 'processor' /proc/cpuinfo | wc -l` mrproper
make -j`grep 'processor' /proc/cpuinfo | wc -l` CROSS_COMPILE=$TOOLCHAIN CONFIG_DEBUG_SECTION_MISMATCH=y zImage;
make -j`grep 'processor' /proc/cpuinfo | wc -l` CROSS_COMPILE=$TOOLCHAIN modules;
make CROSS_COMPILE=$TOOLCHAIN modules_install;
cp arch/arm/boot/zImage ~/Kernel_output/zImage
find . -name "*.ko" -exec cp {} ~/Kernel_output/modules \;
make CROSS_COMPILE=$TOOLCHAIN -j`grep 'processor' /proc/cpuinfo | wc -l` mrproper
cd ~/Kernel_output
./my_pack_xz_gz.sh
# Get Build Time
echo
echo "-------------------------"
echo "Build Completed in:"
echo "-------------------------"
echo
DATE_END=$(date +"%s")
DIFF=$(($DATE_END - $DATE_START))
echo "Time: $(($DIFF / 60)) minute(s) and $(($DIFF % 60)) seconds."
echo

However, at the end of his work, I get the following error:

/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 20 of arch/arm/common/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 133 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 944 of kernel/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 1119 of fs/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 50 of crypto/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 400 of block/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 306 of lib/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 70 of drivers/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/home/lamaster/sm-arm-eabi-4.10/bin/arm-eabi-ld: warning: unwinding may not work because EXIDX input section 858 of net/built-in.o is not in EXIDX output section

Where is my mistake?