[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] compiler errors in latest unstable from 20051027



On Wed, 9 Nov 2005, Jeremy Katz wrote:

> On Wed, 2005-11-09 at 15:59 -0600, Adam Heath wrote:
> > > Er, no.  I verified that smp_alt.h doesn't exist in the latest before 
> > > sending
> > > this mail.  As for the other problems, that I didn't verify.
> >
> > And I just verified that it doesn't work with latest unstable either.
>
> It looks like a few places aren't making sure that the smp_alternatives
> patch is applied... does the attached fix things?

==
purple2:~/kernel/xen/linux-2.6.12.6-xen0# patch -p2 < ~/sparse-smp-alt.patch
patching file include/asm-xen/asm-i386/spinlock.h
patching file include/asm-xen/asm-i386/system.h
purple2:~/kernel/xen/linux-2.6.12.6-xen0# make bzImage modules ARCH=xen
CC=gcc-3.3
  CHK     include/linux/version.h
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm-xen/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h: In function `__cmpxchg':
include/asm-xen/asm/system.h:259: error: `LOCK' undeclared (first use in this 
function)
include/asm-xen/asm/system.h:259: error: (Each undeclared identifier is 
reported only once
include/asm-xen/asm/system.h:259: error: for each function it appears in.)
include/asm-xen/asm/system.h:259: error: syntax error before string constant
include/asm-xen/asm/system.h:265: error: syntax error before string constant
include/asm-xen/asm/system.h:271: error: syntax error before string constant
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
==

It may fix the one error, but not the big one.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.