Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394677 - sys-kernel/openvz-sources-2.6.32-039.11-r1 with Xen disabled - arch/x86/kernel/cpu/common.c:306: error: implicit declaration of function ‘xen_cpuid_base’
Summary: sys-kernel/openvz-sources-2.6.32-039.11-r1 with Xen disabled - arch/x86/kerne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 10:58 UTC by Fabian Franke
Modified: 2011-12-22 16:18 UTC (History)
2 users (show)

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 Fabian Franke 2011-12-14 10:58:12 UTC
Missing ifdef causes compile error when XEN is not activated within the kernel config

Reproducible: Always

Steps to Reproduce:
1. disable xen
2. compile kernel
3.
Actual Results:  
CC      arch/x86/kernel/cpu/common.o
arch/x86/kernel/cpu/common.c: In function ‘filter_cpuid_features’:
arch/x86/kernel/cpu/common.c:306: error: implicit declaration of function ‘xen_cpuid_base’
make[3]: *** [arch/x86/kernel/cpu/common.o] Error 1
make[2]: *** [arch/x86/kernel/cpu] Error 2
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

Expected Results:  
No build error

Simple fix found here: https://bugzilla.redhat.com/show_bug.cgi?id=729488
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-12-22 16:18:27 UTC
Thank you for report. Looks like redhat restructured sources for next rhel6 version and I'm unable to apply this patch in 2.6.32.44.11. So I guess this issue is fixed in 2.6.32.44.11. Please, test.