[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721712: marked as done (gcc-4.8 doesn't compile i386 linux kernel on amd64 system)



Your message dated Tue, 3 Sep 2013 23:43:02 +0200
with message-id <20130903214302.GB8863@mail.waldi.eu.org>
and subject line Re: Bug#721712: gcc-4.8 doesn't compile i386 linux kernel on amd64 system
has caused the Debian Bug report #721712,
regarding gcc-4.8 doesn't compile i386 linux kernel on amd64 system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
721712: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721712
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.8
Version: 4.8.1-9
Severity: normal

gcc-4.8 doesn't compile i386 linux kernel on amd64 system. gcc-4.7
compiles it successfully.

$ make ARCH=i386 O=/tmp/tmp.c9ws64t6PK allnoconfig
  HOSTCC  scripts/basic/fixdep
  GEN     /tmp/tmp.c9ws64t6PK/Makefile
  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
scripts/kconfig/conf --allnoconfig Kconfig
#
# configuration written to .config
#
$ make ARCH=i386 O=/tmp/tmp.c9ws64t6PK
  GEN     /tmp/tmp.c9ws64t6PK/Makefile
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
  Using /usr/local/src/linux-3.11 as source for kernel
  GEN     /tmp/tmp.c9ws64t6PK/Makefile
  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
/usr/local/src/linux-3.11/kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /*
 ^
/usr/local/src/linux-3.11/kernel/bounds.c:1:0: warning: -mregparm is ignored in 64-bit mode [enabled by default]
make[2]: *** [kernel/bounds.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.0-rc7 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.8 depends on:
ii  binutils        2.23.52.20130828-1
ii  cpp-4.8         4.8.1-9
ii  gcc-4.8-base    4.8.1-9
ii  libc6           2.17-92+b1
ii  libcloog-isl4   0.18.0-2
ii  libgcc-4.8-dev  4.8.1-9
ii  libgmp10        2:5.1.2+dfsg-2
ii  libisl10        0.11.2-1
ii  libmpc3         1.0.1-1
ii  libmpfr4        3.1.1-1
ii  zlib1g          1:1.2.8.dfsg-1

Versions of packages gcc-4.8 recommends:
ii  libc6-dev  2.17-92+b1

Versions of packages gcc-4.8 suggests:
ii  binutils [binutils-gold]  2.23.52.20130828-1
pn  gcc-4.8-doc               <none>
pn  gcc-4.8-locales           <none>
pn  gcc-4.8-multilib          <none>
pn  libasan0-dbg              <none>
pn  libatomic1-dbg            <none>
pn  libbacktrace1-dbg         <none>
pn  libgcc1-dbg               <none>
pn  libgomp1-dbg              <none>
pn  libitm1-dbg               <none>
pn  libmudflap0-4.8-dev       <none>
pn  libmudflap0-dbg           <none>
pn  libquadmath0-dbg          <none>
pn  libtsan0-dbg              <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Tue, Sep 03, 2013 at 12:14:02PM +0000, Kusanagi Kouichi wrote:
> gcc-4.8 doesn't compile i386 linux kernel on amd64 system. gcc-4.7
> compiles it successfully.

If you have used V=1, you would have seen that the compiler calls miss
the -m32 argument. This is broken in upstream Linux, see
arch/x86/Makefile*.

Bastian

-- 
	"Get back to your stations!"
	"We're beaming down to the planet, sir."
		-- Kirk and Mr. Leslie, "This Side of Paradise",
		   stardate 3417.3

--- End Message ---

Reply to: