mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-user@lists.sourceforge.net
Cc: Junichi Uekawa <dancer@netfort.gr.jp>, linux-kernel@vger.kernel.org
Subject: Re: [uml-user] 2.6.14.git: user-mode-linux/x86_64 does not build
Date: Sat, 12 Nov 2005 13:04:11 +0100	[thread overview]
Message-ID: <200511121304.12747.blaisorblade@yahoo.it> (raw)
In-Reply-To: <87r79mfxjj.dancerj%dancer@netfort.gr.jp>

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

On Saturday 12 November 2005 02:46, Junichi Uekawa wrote:
> 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.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

[-- Attachment #2: uml-reuse-i386-cpu-optim-fix.patch --]
[-- Type: text/x-diff, Size: 1004 bytes --]

diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index 018f076..563301f 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -35,12 +35,6 @@ config IRQ_RELEASE_METHOD
 	bool
 	default y
 
-menu "Host processor type and features"
-
-source "arch/i386/Kconfig.cpu"
-
-endmenu
-
 menu "UML-specific options"
 
 config MODE_TT
diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386
index 5d92cac..c71b39a 100644
--- a/arch/um/Kconfig.i386
+++ b/arch/um/Kconfig.i386
@@ -1,3 +1,9 @@
+menu "Host processor type and features"
+
+source "arch/i386/Kconfig.cpu"
+
+endmenu
+
 config UML_X86
 	bool
 	default y
@@ -42,7 +48,3 @@ config ARCH_HAS_SC_SIGNALS
 config ARCH_REUSE_HOST_VSYSCALL_AREA
 	bool
 	default y
-
-config X86_CMPXCHG
-	bool
-	default y
diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386
index 1f7dcb0..7a0e04e 100644
--- a/arch/um/Makefile-i386
+++ b/arch/um/Makefile-i386
@@ -35,4 +35,3 @@ cflags-y += $(call cc-option,-mpreferred
 
 CFLAGS += $(cflags-y)
 USER_CFLAGS += $(cflags-y)
-

  reply	other threads:[~2005-11-12 11:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12  1:46 Junichi Uekawa
2005-11-12 12:04 ` Blaisorblade [this message]
2005-11-13  4:46   ` [uml-user] " Junichi Uekawa
2005-11-13 17:46     ` Blaisorblade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200511121304.12747.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=dancer@netfort.gr.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®