Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223549 - xen-sources-2.6.21 fails to build: time-xen.c, redefinition error
Summary: xen-sources-2.6.21 fails to build: time-xen.c, redefinition error
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-25 11:22 UTC by G. Gibson
Modified: 2010-01-06 22:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)