diff options
| author | Nathan Chancellor <[email protected]> | 2024-02-07 17:15:03 -0700 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2024-02-14 13:50:53 +0100 |
| commit | 55cce52f1cec914870a12e8e9f82659037648cb8 (patch) | |
| tree | 6bdf20e611e6fc9c476c0bb012896ba3fdf1f5e9 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | acb7c202baa76235ed478043809366e7de1741c2 (diff) | |
s390: link vmlinux with '-z notext'
ld.bfd defaults to '-z notext' (although it is customizable with the
'--enable-textrel-check' configure option) but ld.lld defaults to '-z
text', which causes issues with building the kernel due to the presence
of dynamic relocations in sections that are not writable.
ld.lld: error: relocation R_390_64 cannot be used against local symbol; recompile with -fPIC
Add '-z notext' to avoid these errors, as this is expected, which
matches other architectures.
Signed-off-by: Nathan Chancellor <[email protected]>
Tested-by: Justin Stitt <[email protected]>
Reviewed-by: Fangrui Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions