diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-10-18 00:02:18 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-10-18 10:23:42 +0200 |
| commit | 700ce4da6f6f172435349b687d2d916e791c6330 (patch) | |
| tree | 8fd38747aec9e1d64fa68c57001084bae72533bb /tools/perf/scripts/python/stackcollapse.py | |
| parent | f9532b372e415e8198287ce010efa22f337857b5 (diff) | |
| download | linux-700ce4da6f6f172435349b687d2d916e791c6330.tar.gz linux-700ce4da6f6f172435349b687d2d916e791c6330.zip | |
selftests/nolibc: explicitly disable position independent executables
nolibc does not support position independent executables (PIE).
However a toolchain might generate these by default depending on various
circumstances. Recently clang started to do so for hexagon. See LLVM
commit ab43cb8520c0 ("[Hexagon] Pass -pie to linker when PIE is the
toolchain default (#189723)").
As clang can also be configured to create PIE for other architectures by
default disable it globally. While we are at it also pass the argument
for GCC to be on the safe side.
If PIE is disabled already, clang will generate
-Wunused-command-line-argument warnings. Inhibit those.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20261018-nolibc-unused-arguments-v1-1-6cba71555fe8@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
