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 1FCRLK-0005ES-Fm for garchives@archives.gentoo.org; Fri, 24 Feb 2006 01:01:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1O10sQl029822; Fri, 24 Feb 2006 01:00:54 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 k1O0umC4002979 for ; Fri, 24 Feb 2006 00:56:48 GMT Received: from localhost (localhost [127.0.0.1]) by ender.volumehost.net (Postfix) with ESMTP id C74B0D260 for ; Fri, 24 Feb 2006 00:56:47 +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 13522-05 for ; Fri, 24 Feb 2006 00:56:46 +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 4B9ECD25F for ; Fri, 24 Feb 2006 00:56:46 +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:56:45 -0600 User-Agent: KMail/1.9.1 References: <200602230003.33868.bo.andresen@gmail.com> <200602240116.56783.bo.andresen@gmail.com> <200602231832.13268.bss03@volumehost.com> In-Reply-To: <200602231832.13268.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: <200602231856.45372.bss03@volumehost.com> X-Virus-Scanned: amavisd-new at volumehost.net X-Archives-Salt: a100d89f-7e4e-4d79-b802-a5c9873ad127 X-Archives-Hash: d6ff54455e1aa39aa4e8fb8aab81dbbb On Thursday 23 February 2006 18:32, "Boyd Stephen Smith Jr." wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': > Try: > make ARCH=x86_64 CFLAGS=-m64 Nah, don't. It won't help, the kernel's Makefile doesn't pay attention to CFLAGS, it sets up it's own based on your .config. While I didn't get the same error as you, I see definite "I'm trying to compile 64-bit assembly into 32-bit binaries"-style errors when compiling with: make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CFLAGS="-m32" make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CFLAGS="-m64" and make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CC="gcc -m32" However, I /was/ able to convince the kernel to build with make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CC="gcc -m64" although I didn't see if that would boot. 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. -- Boyd Stephen Smith Jr. bss03@volumehost.com ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list