[Nexus 6  Original Android Development] xNotta:
I just built using elementalx_defconfig and got the same error as shamu_defconfig.

I am using the NDK toolchains. Specifically arm-linux-androideabi-4.9.

The only thing I did was add a governor (intelliactive) and enabled it in menuconfig. I copied the governor configurations from NitrogenOS's kernel source for the Nexus 6.

LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 58 of arch/arm/kernel/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 9 of arch/arm/common/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of arch/arm/crypto/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 40 of fs/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 12 of crypto/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 38 of block/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of lib/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 30 of drivers/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 34 of net/built-in.o is not in EXIDX output section
KSYM .tmp_kallsyms1.o
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 58 of arch/arm/kernel/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 9 of arch/arm/common/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of arch/arm/crypto/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 40 of fs/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 12 of crypto/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 38 of block/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of lib/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 30 of drivers/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 34 of net/built-in.o is not in EXIDX output section
KSYM .tmp_kallsyms2.o
LD vmlinux
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 58 of arch/arm/kernel/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 9 of arch/arm/common/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of arch/arm/crypto/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 40 of fs/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 12 of crypto/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 38 of block/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of lib/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 30 of drivers/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
/root/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 34 of net/built-in.o is not in EXIDX output section
SORTEX vmlinux
SYSMAP System.map
DTC arch/arm/boot/dts/apq8084-shamu-p2.dtb
make[1]: Nothing to be done for 'dtbs'.
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZ4 arch/arm/boot/compressed/piggy.lz4
/bin/sh: 1: lz4c: not found
/root/Desktop/android/kernel/ElementalX-4.00/arch/arm/boot/compressed/Makefile:193: recipe for target 'arch/arm/boot/compressed/piggy.lz4' failed
make[2]: *** [arch/arm/boot/compressed/piggy.lz4] Error 1
/root/Desktop/android/kernel/ElementalX-4.00/arch/arm/boot/Makefile:62: recipe for target 'arch/arm/boot/compressed/vmlinux' failed
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
/root/Desktop/android/kernel/ElementalX-4.00/arch/arm/Makefile:312: recipe for target 'zImage-dtb' failed
make: *** [zImage-dtb] Error 2