WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problem compiling with vSMP cpu architecture support

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem compiling with vSMP cpu architecture support
From: rargh <rargh@xxxxxxxxxxx>
Date: Thu, 27 Dec 2007 02:07:12 +0100
Delivery-date: Wed, 26 Dec 2007 17:08:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (X11/20071226)
(hoping my first email wasn't successfully sent, disregard it if it was)

hello,

I've been having trouble enabling the scaleMP vSMP architecture support
(my cpu is an intel core 2 duo "conroe" e6750) with a xen-patched linux
kernel.
Everytime I compile the kernel, gcc complains about smp_processor_id()
being undeclared (and thus, ultimately fail when linking).
Enabling PC-compatible subarch type solves it.
here's the fail log:


In file included from include/linux/irqflags.h:47,
                 from include/asm/system.h:266,
                 from include/linux/spinlock.h:58,
                 from include/linux/module.h:10,
                 from init/version.c:11:
include/asm/mach-xen/asm/irqflags.h: In function 'raw_local_irq_disable':
include/asm/mach-xen/asm/irqflags.h:43: warning: implicit declaration of
function 'smp_processor_id'
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/x86_64/kernel/built-in.o: In function `alternative_instructions':
(.init.text+0x19e0): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `alternative_instructions':
(.init.text+0x19f9): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `check_nmi_watchdog':
(.init.text+0x2a25): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `check_nmi_watchdog':
(.init.text+0x2a3f): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `nmi_cpu_busy':
nmi.c:(.init.text+0x2bc3): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o:nmi.c:(.init.text+0x2bdd): more undefined
references to `smp_processor_id' follow
make: *** [.tmp_vmlinux1] Error 1
zsh: exit 2     make



I tried with vanilla kernels 2.6.20 and 2.6.22-1, xen-patched (as well
as with the gentoo xen-sources 2.6.20-xen-r6 ebuild) but to no avail.

Any help/guidelines would be appreciated, thanks,

-Oliver



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem compiling with vSMP cpu architecture support, rargh <=