From: Richard Weinberger <richard@nod.at>
To: JBeulich@novell.com
Cc: Randy Dunlap <rdunlap@xenotime.net>,
mingo@elte.hu, akpm@linux-foundation.org,
Stephen Rothwell <sfr@canb.auug.org.au>,
LKML <linux-kernel@vger.kernel.org>,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: linux-next: Tree for July 22 (uml)
Date: Fri, 22 Jul 2011 20:55:34 +0200 [thread overview]
Message-ID: <201107222055.35341.richard@nod.at> (raw)
In-Reply-To: <20110722085346.51565411.rdunlap@xenotime.net>
Am Freitag 22 Juli 2011, 17:53:46 schrieben Sie:
> On Fri, 22 Jul 2011 16:42:37 +1000 Stephen Rothwell wrote:
> > Hi all,
>
> uml build on i386 fails with:
>
> arch/um/sys-i386/built-in.o: In function `call_rwsem_down_read_failed':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:93: undefined
> reference to `rwsem_down_read_failed' arch/um/sys-i386/built-in.o: In
> function `call_rwsem_down_write_failed':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:105: undefined
> reference to `rwsem_down_write_failed' arch/um/sys-i386/built-in.o: In
> function `call_rwsem_wake':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:118: undefined
> reference to `rwsem_wake' arch/um/sys-i386/built-in.o: In function
> `call_rwsem_downgrade_wake':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:130: undefined
> reference to `rwsem_downgrade_wake'
>
Jan,
"x86: Unify rwsem assembly implementation" broke the UML build on i386.
Please compile test you changes or CC me when you are touch something in arch/um/.
make ARCH=um SUBARCH=i386
and
make ARCH=um SUBARCH=x86_64
does not hurt. :-)
Thanks,
//richard
---
From b9ec24beb55276d74fdf4f9f9607c69fc8662b72 Mon Sep 17 00:00:00 2001
From: Richard Weinberger <richard@nod.at>
Date: Fri, 22 Jul 2011 20:46:32 +0200
Subject: [PATCH] um: Make rwsem.S depend on CONFIG_RWSEM_XCHGADD_ALGORITHM
rwsem.S can only be used with CONFIG_RWSEM_XCHGADD_ALGORITHM.
This unbreaks the UML build on i386.
Signed-off-by: Richard Weinberger <richard@nod.at>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
---
arch/um/sys-i386/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile
index 15587ed..87b659d 100644
--- a/arch/um/sys-i386/Makefile
+++ b/arch/um/sys-i386/Makefile
@@ -8,7 +8,8 @@ obj-y = bug.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
obj-$(CONFIG_BINFMT_ELF) += elfcore.o
-subarch-obj-y = lib/rwsem.o lib/string_32.o
+subarch-obj-y = lib/string_32.o
+subarch-obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += lib/rwsem.o
subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem_32.o
subarch-obj-$(CONFIG_MODULES) += kernel/module.o
--
1.7.6
WARNING: multiple messages have this Message-ID (diff)
From: Richard Weinberger <richard@nod.at>
To: JBeulich@novell.com
Cc: Randy Dunlap <rdunlap@xenotime.net>,
mingo@elte.hu, akpm@linux-foundation.org,
Stephen Rothwell <sfr@canb.auug.org.au>,
LKML <linux-kernel@vger.kernel.org>,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: linux-next: Tree for July 22 (uml)
Date: Fri, 22 Jul 2011 20:55:34 +0200 [thread overview]
Message-ID: <201107222055.35341.richard@nod.at> (raw)
In-Reply-To: <20110722085346.51565411.rdunlap@xenotime.net>
Am Freitag 22 Juli 2011, 17:53:46 schrieben Sie:
> On Fri, 22 Jul 2011 16:42:37 +1000 Stephen Rothwell wrote:
> > Hi all,
>
> uml build on i386 fails with:
>
> arch/um/sys-i386/built-in.o: In function `call_rwsem_down_read_failed':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:93: undefined
> reference to `rwsem_down_read_failed' arch/um/sys-i386/built-in.o: In
> function `call_rwsem_down_write_failed':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:105: undefined
> reference to `rwsem_down_write_failed' arch/um/sys-i386/built-in.o: In
> function `call_rwsem_wake':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:118: undefined
> reference to `rwsem_wake' arch/um/sys-i386/built-in.o: In function
> `call_rwsem_downgrade_wake':
> linux-next-20110722/arch/um/sys-i386/../../x86/lib/rwsem.S:130: undefined
> reference to `rwsem_downgrade_wake'
>
Jan,
"x86: Unify rwsem assembly implementation" broke the UML build on i386.
Please compile test you changes or CC me when you are touch something in arch/um/.
make ARCH=um SUBARCH=i386
and
make ARCH=um SUBARCH=x86_64
does not hurt. :-)
Thanks,
//richard
---
>From b9ec24beb55276d74fdf4f9f9607c69fc8662b72 Mon Sep 17 00:00:00 2001
From: Richard Weinberger <richard@nod.at>
Date: Fri, 22 Jul 2011 20:46:32 +0200
Subject: [PATCH] um: Make rwsem.S depend on CONFIG_RWSEM_XCHGADD_ALGORITHM
rwsem.S can only be used with CONFIG_RWSEM_XCHGADD_ALGORITHM.
This unbreaks the UML build on i386.
Signed-off-by: Richard Weinberger <richard@nod.at>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
---
arch/um/sys-i386/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile
index 15587ed..87b659d 100644
--- a/arch/um/sys-i386/Makefile
+++ b/arch/um/sys-i386/Makefile
@@ -8,7 +8,8 @@ obj-y = bug.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
obj-$(CONFIG_BINFMT_ELF) += elfcore.o
-subarch-obj-y = lib/rwsem.o lib/string_32.o
+subarch-obj-y = lib/string_32.o
+subarch-obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += lib/rwsem.o
subarch-obj-$(CONFIG_HIGHMEM) += mm/highmem_32.o
subarch-obj-$(CONFIG_MODULES) += kernel/module.o
--
1.7.6
next prev parent reply other threads:[~2011-07-22 18:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 6:42 linux-next: Tree for July 22 Stephen Rothwell
2011-07-22 15:53 ` linux-next: Tree for July 22 (uml) Randy Dunlap
2011-07-22 18:55 ` Richard Weinberger [this message]
2011-07-22 18:55 ` Richard Weinberger
2011-07-22 20:15 ` Randy Dunlap
2011-07-22 21:39 ` [tip:x86/asm] um: Make rwsem.S depend on CONFIG_RWSEM_XCHGADD_ALGORITHM tip-bot for Richard Weinberger
2011-07-25 6:54 ` linux-next: Tree for July 22 (uml) Jan Beulich
2011-07-25 6:54 ` Jan Beulich
2011-07-22 16:04 ` linux-next: Tree for July 22 (bcma) Randy Dunlap
2011-07-22 20:27 ` [PATCH] bcma: fix 'SSB_PCICORE_BFL_NOPCI' undeclared build breakage John W. Linville
2011-07-22 21:35 ` Rafał Miłecki
2011-07-23 8:16 ` Rafał Miłecki
2011-07-22 16:22 ` linux-next: Tree for July 22 (xen) Randy Dunlap
2011-07-22 17:35 ` Konrad Rzeszutek Wilk
2011-07-22 17:35 ` Konrad Rzeszutek Wilk
2011-07-22 17:48 ` Konrad Rzeszutek Wilk
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=201107222055.35341.richard@nod.at \
--to=richard@nod.at \
--cc=JBeulich@novell.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rdunlap@xenotime.net \
--cc=sfr@canb.auug.org.au \
--cc=user-mode-linux-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.