Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751343AbVKMEqV (ORCPT ); Sat, 12 Nov 2005 23:46:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751345AbVKMEqV (ORCPT ); Sat, 12 Nov 2005 23:46:21 -0500 Received: from 219-75-232-131.eonet.ne.jp ([219.75.232.131]:56836 "HELO viper2.netfort.gr.jp") by vger.kernel.org with SMTP id S1751343AbVKMEqV (ORCPT ); Sat, 12 Nov 2005 23:46:21 -0500 Date: Sun, 13 Nov 2005 13:46:20 +0900 Message-ID: <87u0ehyx2b.dancerj%dancer@netfort.gr.jp> From: Junichi Uekawa To: Blaisorblade Cc: user-mode-linux-user@lists.sourceforge.net, Junichi Uekawa , linux-kernel@vger.kernel.org Subject: Re: [uml-user] 2.6.14.git: user-mode-linux/x86_64 does not build In-Reply-To: <200511121304.12747.blaisorblade@yahoo.it> References: <87r79mfxjj.dancerj%dancer@netfort.gr.jp> <200511121304.12747.blaisorblade@yahoo.it> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.4 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1471 Lines: 42 Hi > > UML does not build from linus's git tree for a while, with the > > following compilation error. > > Ok, I must start catching up - I have lots of fixes but not yet found the time > to re-read and send them. This is one of them. > > > .config is attached later. > > > CONFIG_X86_CMPXCHG=y > > > CONFIG_RWSEM_GENERIC_SPINLOCK=y > > CONFIG_RWSEM_XCHGADD_ALGORITHM=y > > This is what's causing the error, these options should be mutually exclusive. > > > CONFIG_64BIT=y > Arh, this is the problem... I made a mistake for x86_64, and the fix has not > yet been sent up. Patch attached. With your patch it builds now, and somewhat runs, not excercised it enough yet. A snippet of a log of a functional UML session: sh-3.00# chroot /home/dancer/i386-chroot/1/ /bin/bash chroot: cannot run command `/bin/bash': Exec format error sh-3.00# file /home/dancer/i386-chroot/1/bin/bash /home/dancer/i386-chroot/1/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped sh-3.00# uname -a Linux (none) 2.6.14-g508862e4 #1 Sun Nov 13 13:30:32 JST 2005 x86_64 GNU/Linux regards, junichi -- dancer@{debian.org,netfort.gr.jp} Debian Project - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/