From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FCRVh-0008GF-2Y for garchives@archives.gentoo.org; Fri, 24 Feb 2006 01:12:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1O1Be2l000902; Fri, 24 Feb 2006 01:11:40 GMT Received: from cicero0.cybercity.dk (cicero0.cybercity.dk [212.242.40.52]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1O17ctE011812 for ; Fri, 24 Feb 2006 01:07:38 GMT Received: from user2.cybercity.dk (user2.cybercity.dk [212.242.41.35]) by cicero0.cybercity.dk (Postfix) with ESMTP id 9F9D5678DE3 for ; Fri, 24 Feb 2006 02:07:38 +0100 (CET) Received: from [10.0.0.2] (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by user2.cybercity.dk (Postfix) with ESMTP id 44C93286709 for ; Fri, 24 Feb 2006 02:07:38 +0100 (CET) From: Bo Andresen To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error Date: Fri, 24 Feb 2006 02:07:31 +0100 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> <200602231832.13268.bss03@volumehost.com> <200602231856.45372.bss03@volumehost.com> In-Reply-To: <200602231856.45372.bss03@volumehost.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602240207.38248.bo.andresen@gmail.com> X-Archives-Salt: 8e7633bc-60f5-4efb-a879-7e061e8e0eed X-Archives-Hash: 550ed19b6ff6c1fde18afa3eec508264 On Friday 24 February 2006 01:56, Boyd Stephen Smith Jr. wrote: > So, why don't you give it a go with: > make ARCH=x86_64 CC="gcc -m64" menuconfig > make ARCH=x86_64 CC="gcc -m64" > make ARCH=x86_64 CC="gcc -m64" modules_install > make ARCH=x86_64 CC="gcc -m64" install > > and let me know how it goes. linux # make ARCH=x86_64 CC="gcc -m64" clean CLEAN .tmp_versions # make ARCH=x86_64 CC="gcc -m64" menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/mconf HOSTCC scripts/lxdialog/checklist.o HOSTCC scripts/lxdialog/inputbox.o HOSTCC scripts/lxdialog/lxdialog.o HOSTCC scripts/lxdialog/menubox.o HOSTCC scripts/lxdialog/msgbox.o HOSTCC scripts/lxdialog/textbox.o HOSTCC scripts/lxdialog/util.o HOSTCC scripts/lxdialog/yesno.o HOSTLD scripts/lxdialog/lxdialog scripts/kconfig/mconf arch/x86_64/Kconfig # # using defaults found in .config # *** End of Linux kernel configuration. *** Execute 'make' to build the kernel or try 'make help'. via linux # make ARCH=x86_64 CC="gcc -m64" CHK include/linux/version.h UPD include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CC arch/x86_64/kernel/asm-offsets.s cc1: error: code model `kernel' not supported in the 32 bit mode cc1: sorry, unimplemented: 64-bit mode not compiled in make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 # gcc --version gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Bo Andresen -- gentoo-user@gentoo.org mailing list