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 1FCR0V-0000zx-VP for garchives@archives.gentoo.org; Fri, 24 Feb 2006 00:40:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1O0dQkC009870; Fri, 24 Feb 2006 00:39:26 GMT Received: from ender.volumehost.net (adsl-69-154-123-202.dsl.fyvlar.swbell.net [69.154.123.202]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1O0WGs2031634 for ; Fri, 24 Feb 2006 00:32:16 GMT Received: from localhost (localhost [127.0.0.1]) by ender.volumehost.net (Postfix) with ESMTP id DE766D265 for ; Fri, 24 Feb 2006 00:32:15 +0000 (UTC) Received: from ender.volumehost.net ([127.0.0.1]) by localhost (ender.volumehost.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12792-12-2 for ; Fri, 24 Feb 2006 00:32:14 +0000 (UTC) Received: from monster (ip70-178-175-2.ks.ks.cox.net [70.178.175.2]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ender.volumehost.net (Postfix) with ESMTP id 1E9BBD263 for ; Fri, 24 Feb 2006 00:32:14 +0000 (UTC) From: "Boyd Stephen Smith Jr." To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error Date: Thu, 23 Feb 2006 18:32:13 -0600 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> <200602240112.07644.bo.andresen@gmail.com> <200602240116.56783.bo.andresen@gmail.com> In-Reply-To: <200602240116.56783.bo.andresen@gmail.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: <200602231832.13268.bss03@volumehost.com> X-Virus-Scanned: amavisd-new at volumehost.net X-Archives-Salt: c8c0c876-fd99-46a4-9130-7854d82bfeb8 X-Archives-Hash: 6fc5a40db98e119f7d842a6c8fe13cb9 On Thursday 23 February 2006 18:16, Bo Andresen wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': > On Friday 24 February 2006 01:12, Bo Andresen wrote: > > On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote: > > > When you 'make ARCH=x86_64 menuconfig', can you find the IA32 > > > configuration options? > > > > Indeed I can. Thanks. :) > > Unfortunately, however, it doesn't compile.. :( > > # make ARCH=x86_64 > CHK 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 > make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 > > Going to bed now. Will look at it tomorrow. Oy, oy, oy. No wonder my friends would rather fsck with the amd64 live cd (that panics on boot unless the BIOS settings are /really/ special) than start off in 32-bit land. Anyway, I think what you probably need to do is append -m64 to your CFLAGS. Try: make ARCH=x86_64 CFLAGS=-m64 I'll go fiddle a bit, too. I'm already running a 64-bit userland, but I have an i686 "cross"-compiler installed, maybe I can iron out think kinks in the process for ya. -- Boyd Stephen Smith Jr. bss03@volumehost.com ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list