Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 223549

Summary: xen-sources-2.6.21 fails to build: time-xen.c, redefinition error
Product: Gentoo Linux Reporter: G. Gibson <mistergibson>
Component: [OLD] Core systemAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description G. Gibson 2008-05-25 11:22:36 UTC
CC      arch/i386/kernel/time-xen.o
arch/i386/kernel/time-xen.c:983: error: redefinition of 'raw_safe_halt'
include/asm/paravirt.h:223: error: previous definition of 'raw_safe_halt' was here
arch/i386/kernel/time-xen.c:992: error: redefinition of 'halt'
include/asm/paravirt.h:228: error: previous definition of 'halt' was here
arch/i386/kernel/time-xen.c: In function 'halt':
arch/i386/kernel/time-xen.c:993: warning: implicit declaration of function 'raw_local_save_flags'
make[1]: *** [arch/i386/kernel/time-xen.o] Error 1
make: *** [arch/i386/kernel] Error 2


Reproducible: Always

Steps to Reproduce:
1. make menuconfig
2. make -j2
3.

Actual Results:  
CC      arch/i386/kernel/time-xen.o
arch/i386/kernel/time-xen.c:983: error: redefinition of 'raw_safe_halt'
include/asm/paravirt.h:223: error: previous definition of 'raw_safe_halt' was here
arch/i386/kernel/time-xen.c:992: error: redefinition of 'halt'
include/asm/paravirt.h:228: error: previous definition of 'halt' was here
arch/i386/kernel/time-xen.c: In function 'halt':
arch/i386/kernel/time-xen.c:993: warning: implicit declaration of function 'raw_local_save_flags'
make[1]: *** [arch/i386/kernel/time-xen.o] Error 1
make: *** [arch/i386/kernel] Error 2


Expected Results:  
dom0 kernel built
Comment 1 Reto Gantenbein (ganto) 2008-06-22 23:00:57 UTC
Same for me. In my case it fails when building a 32bit domU kernel. When compiling on a 64bit AMD machine, I don't get this compile error.
Comment 2 Reto Gantenbein (ganto) 2008-06-22 23:09:44 UTC
Hehe, we should just read the old bug reports. Disabling CONFIG_PARAVIRT resolves the problem. Also see bug 197071.
Comment 3 Patrick Lauer gentoo-dev 2010-01-06 22:33:43 UTC
Dropped version. Try .29 or .31 :)