Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf fuzzer compilation error with RHEL10[6.11.0-0.rc5.22.el10.ppc64le] #27

Open
Tejas3772 opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@Tejas3772
Copy link

Tejas3772 commented Sep 24, 2024

Hi,

Perf compilation fails on RHEL Distro[6.11.0-0.rc5.22.el10.ppc64le] for the following command:
make -s -S

Error:

In file included from ample_weight.c:30:
../../include/perf_helpers.h:10:48: note: xpected ‘long long unsigned int *’ but argument is of ype ‘__u64 *’ {aka ‘long unsigned int *’}
10 | int get_latency_load_event(unsigned long long *config,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
ample_weight.c:96:50: or: passing argument 2 of ‘get_latency_load_event’ from incompatible pointer ype [-Wincompatible-pointer-types]
96 | ult=get_latency_load_event(&pe.config,&pe.config1,
| ^~~~~~~~~~~
|
| __u64 * {aka long unsigned int *}
../../include/perf_helpers.h:11:45: note: xpected ‘long long unsigned int *’ but argument is of ype ‘__u64 *’ {aka ‘long unsigned int *’}
11 | unsigned long long *config1,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
make[2]: *** [: ample_weight.o] or 1
validate_record_sample.c: In function ‘main’:
validate_record_sample.c:181:62: warning: format ‘%llx’ xpects argument of ype ‘long long unsigned int’, but argument 3 has ype ‘__u64’ {aka ‘long unsigned int’} [-Wformat=]
181 | if (!quiet) fprintf(stderr,"Error opening %llx\n",pe.config);
| ~~~^ ~~~~~~~~~
| | |
| | __u64 {aka long unsigned int}
| long long unsigned int
| %lx
*** [Makefile:18: all] or 2
*** [Makefile:9: all] or 2
| Command 'make -s -S' finished with 2 after 5.511302806s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant