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

[Xen-users] xen 4.1.2 build with perfomance counters files



I'm trying to build xen hypervisor with perfomance counters support.
Build without this feature is always successful, but if I try to add perfomance counters functionality it always fails.

make world perfc=y  - success

After that make install gives folowing errors: undefined references to per_cpu__perfcounters, perfc_control, perfc_printall, perfc_reset.

Here is output:

make[4]: Entering directory `/vm/xen-source/xen-4.1.2/xen/arch/x86'
make[4]: `/vm/xen-source/xen-4.1.2/xen/common/symbols-dummy.o' is up to date.
make[4]: Leaving directory `/vm/xen-source/xen-4.1.2/xen/arch/x86'
ld   -melf_x86_64 -T xen.lds -N /vm/xen-source/xen-4.1.2/xen/arch/x86/boot/built_in.o /vm/xen-source/xen-4.1.2/xen/common/built_in.o /vm/xen-source/xen-4.1.2/xen/drivers/built_in.o /vm/xen-source/xen-4.1.2/xen/xsm/built_in.o /vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o /vm/xen-source/xen-4.1.2/xen/crypto/built_in.o \
            /vm/xen-source/xen-4.1.2/xen/common/symbols-dummy.o -o /vm/xen-source/xen-4.1.2/xen/.xen-syms.0
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `do_multicall':
/vm/xen-source/xen-4.1.2/xen/common/multicall.c:87: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/multicall.c:87: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/multicall.c:76: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/multicall.c:76: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/multicall.c:82: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/multicall.c:82: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `alloc_heap_pages':
/vm/xen-source/xen-4.1.2/xen/common/page_alloc.c:445: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/page_alloc.c:445: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `csched_vcpu_remove':
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:696: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:696: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o:/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:717: more undefined references to `per_cpu__perfcounters' follow
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `csched_vcpu_sleep':
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:717: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `csched_dom_init':
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:860: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `csched_alloc_vdata':
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:665: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `csched_dom_destroy':
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:883: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `csched_acct':
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:977: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/sched_credit.c:1052: additional relocation overflows omitted from the output
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `do_sysctl':
/vm/xen-source/xen-4.1.2/xen/common/sysctl.c:151: undefined reference to `perfc_control'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o: In function `compat_multicall':
/vm/xen-source/xen-4.1.2/xen/common/compat/../multicall.c:87: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/compat/../multicall.c:76: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/compat/../multicall.c:82: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o:(.data.rel+0x28): undefined reference to `perfc_printall'
/vm/xen-source/xen-4.1.2/xen/common/built_in.o:(.data.rel+0x48): undefined reference to `perfc_reset'
/vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o: In function `smp_apic_timer_interrupt':
/vm/xen-source/xen-4.1.2/xen/arch/x86/apic.c:1374: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o: In function `search_pre_exception_table':
/vm/xen-source/xen-4.1.2/xen/arch/x86/extable.c:106: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o: In function `do_IRQ':
/vm/xen-source/xen-4.1.2/xen/arch/x86/irq.c:538: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o: In function `ptwr_do_page_fault':
/vm/xen-source/xen-4.1.2/xen/arch/x86/mm.c:5117: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o: In function `__get_page_type':
/vm/xen-source/xen-4.1.2/xen/arch/x86/mm.c:2395: undefined reference to `per_cpu__perfcounters'
/vm/xen-source/xen-4.1.2/xen/arch/x86/built_in.o:/vm/xen-source/xen-4.1.2/xen/arch/x86/mm.c:2916: more undefined references to `per_cpu__perfcounters' follow
ld: /vm/xen-source/xen-4.1.2/xen/.xen-syms.0: hidden symbol `perfc_control' isn't defined
make[3]: *** [/vm/xen-source/xen-4.1.2/xen/xen-syms] Error 1
make[3]: Leaving directory `/vm/xen-source/xen-4.1.2/xen/arch/x86'
make[2]: *** [/vm/xen-source/xen-4.1.2/xen/xen] Error 2
make[2]: Leaving directory `/vm/xen-source/xen-4.1.2/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/vm/xen-source/xen-4.1.2/xen'
make: *** [install-xen] Error 2


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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