>> scripts/kconfig/conf --silentoldconfig Kconfig >> CHK include/config/kernel.release >> Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong >> not supported by compiler >> make: *** [prepare-compiler-check] Error 1 >> make: *** Waiting for unfinished jobs.... > > So turn off CONFIG_CC_STACKPROTECTOR_STRONG or upgrade your C compiler. I turned off CONFIG_CC_STACKPROTECTOR_STRONG and got the following error ******************************************************************************************************* HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c HOSTCC arch/x86/tools/relocs_32.o HOSTCC arch/x86/tools/relocs_64.o HOSTCC arch/x86/tools/relocs_common.o HOSTLD arch/x86/tools/relocs CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CC arch/x86/purgatory/purgatory.o AS arch/x86/purgatory/stack.o AS arch/x86/purgatory/setup-x86_64.o CC arch/x86/purgatory/sha256.o AS arch/x86/purgatory/entry64.o CC arch/x86/purgatory/string.o LD arch/x86/purgatory/purgatory.ro BIN2C arch/x86/purgatory/kexec-purgatory.c CHK include/generated/timeconst.h CC kernel/bounds.s kernel/bounds.c:1:0: error: code model kernel does not support PIC mode /* make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2 ******************************************************************************************************* Using gcc 6.2 to compile kernel. gcc works with -fstack-protector-strong for a simple test c code. I doubt compiler is the problem. Should I make some change to make kernel compile with gcc 6.2? Thank you for your quick response. Thanks, PrasannaKumar -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html