Hi Jim, On Fri, 20 Sep 2013 10:07:42 -0700 Jim Davis <jim.epost@xxxxxxxxx> wrote: > > 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 So, you are building v3.12-rc1, not linux-next ... i386_defconfig is one of the builds I do before releasing linux-next (but not on just Linus' tree) and it did not fail for me on Friday (gcc 4.6.3 if it matters), so maybe this is fixed by something after -rc1 or in linux-next. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgpXx_QG7c4Vx.pgp
Description: PGP signature