linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem building i386_defconfig with next-20130920
@ 2013-09-20 17:07 Jim Davis
  2013-09-23  0:20 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Davis @ 2013-09-20 17:07 UTC (permalink / raw)
  To: linux-next

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-23  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-20 17:07 Problem building i386_defconfig with next-20130920 Jim Davis
2013-09-23  0:20 ` Stephen Rothwell
2013-09-23  2:20   ` Jim Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).