Re: 2.6.15-rc5-rt2 build error

Lee Revell
2005-12-18T22:23:30Z

On Sun, 2005-12-18 at 21:06 +0100, Florian Schmidt wrote:
> config attached [cat .config|grep -v "#" >config]
>
> CC lib/rwsem.o

Try the patches that Steven Rostedt posted in the "2.6.15-rc5-rt1 will
not compile" thread. Not all of those seem to have made it into -rt2.

FWIW in order to compile -rt2 on x86-64 with !PREEMPT_RT this patch is
required:

Index: linux-2.6.15-rc5-rt1/arch/x86_64/Kconfig
===================================================================
--- linux-2.6.15-rc5-rt1.orig/arch/x86_64/Kconfig 2005-12-12
10:56:37.000000000 -0500
+++ linux-2.6.15-rc5-rt1/arch/x86_64/Kconfig 2005-12-12
21:33:56.000000000 -0500
@@ -240,7 +240,6 @@

config RWSEM_GENERIC_SPINLOCK
bool
- depends on PREEMPT_RT
default y

config RWSEM_XCHGADD_ALGORITHM

Lee