diff options
| author | Eric Biggers <[email protected]> | 2025-06-25 20:23:08 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-06-26 17:51:40 +0000 |
| commit | 55a18d2f3ff79c9082225f44e0abbaea6286bf99 (patch) | |
| tree | c58eec952c37037e17ccdff54361a864358247f8 /tools/perf/util/annotate.c | |
| parent | perf top: populate PMU capabilities data in perf_env (diff) | |
| download | kernel-55a18d2f3ff79c9082225f44e0abbaea6286bf99.tar.gz kernel-55a18d2f3ff79c9082225f44e0abbaea6286bf99.zip | |
perf build: enable -fno-strict-aliasing
perf pulls in code from kernel headers that assumes it is being built
with -fno-strict-aliasing, namely put_unaligned_*() from
<linux/unaligned.h> which write the data using packed structs that lack
the may_alias attribute. Enable -fno-strict-aliasing to prevent
miscompilations in sha1.c which would otherwise occur due to this issue.
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
