You have been subscribed to a public bug:
For some odd reason trying to pass an "(int) * (size_t)" to malloc is
throwing an exception in the argument checking for malloc. This only
happens on s390x and ppc64el.
This results in the following compilation error:
tools/lib/perf/cpumap.c, function perf_cpu_map__merge (line 464):
cpumap.c:464:20: error: argument 1 range [18446744065119617024,
18446744073709551612]
exceeds maximum object size 9223372036854775807
[-Werror=alloc-size-larger-than=]
464 | tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu));
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
perf_cpu_map__merge fails to compile on ppc46el, s390x on noble linux
https://bugs.launchpad.net/bugs/2152194
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs