You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: