Undefined reference when building with specifying CPU=spr or arm_v2

6 views
Skip to first unread message

Chris Lin

unread,
Feb 20, 2025, 12:30:21 PMFeb 20
to ptools-perfapi
Hi, when I build PAPI with specifying CPU=spr or arm_v2 on corresponding machines, there are many undefined references to functions that should be present in the PAPI source. For example, for CPU=spr, 

linux-common.c:(.text+0xd7f): undefined reference to `_x86_detect_hypervisor'
`_x86_detect_hypervisor'
`x86_cpu_get_vendor'
`x86_cpu_get_name'
`x86_cpu_get_attribute'
`x86_cpu_get_attribute_at'
`_x86_cache_info'

Are there requirements of compiler version (say GCC>=13) or libraries for those CPU?

Many thanks,
Chris

Reply all
Reply to author
Forward
0 new messages