Trying to build a x86 kernel is failing with kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set /* ^ kernel/bounds.c:1:0: warning: -mregparm is ignored in 64-bit mode [enabled by default] make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2 Here's the steps I've gone through in detail, just in case it's pilot error :/ jim@krebstar:~/linux$ make distclean CLEAN arch/x86/tools CLEAN .tmp_versions CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config include/generated arch/x86/include/generated CLEAN .config include/generated/uapi/linux/version.h jim@krebstar:~/linux$ git clean -fdx jim@krebstar:~/linux$ git remote -v linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (fetch) linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (push) origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (fetch) origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git (push) jim@krebstar:~/linux$ git remote update Fetching origin Fetching linux-next jim@krebstar:~/linux$ git describe v3.12-rc1 jim@krebstar:~/linux$ git tag | grep '^next-' | tail -1 next-20130920 jim@krebstar:~/linux$ make i386_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # jim@krebstar:~/linux$ make scripts/kconfig/conf --silentoldconfig Kconfig SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h 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 UPD include/config/kernel.release WRAP arch/x86/include/generated/asm/clkdev.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CC kernel/bounds.s gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set /* ^ kernel/bounds.c:1:0: warning: -mregparm is ignored in 64-bit mode [enabled by default] make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html