diff options
| author | Michal Kubecek <[email protected]> | 2018-05-16 05:51:36 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-05-17 13:36:40 +0000 |
| commit | 8438ee76b004ef66d125ade64c91fc128047d244 (patch) | |
| tree | 3c174fe99238cf40d957fc4bb4844019226ed0a7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | kbuild: gcov: enable -fno-tree-loop-im if supported (diff) | |
| download | kernel-8438ee76b004ef66d125ade64c91fc128047d244.tar.gz kernel-8438ee76b004ef66d125ade64c91fc128047d244.zip | |
Makefile: disable PIE before testing asm goto
Since commit e501ce957a78 ("x86: Force asm-goto"), aarch64 build on
distributions which enable PIE by default (e.g. openSUSE Tumbleweed) does
not detect support for asm goto correctly. The problem is that ARM specific
part of scripts/gcc-goto.sh fails with PIE even with recent gcc versions.
Moving the asm goto detection up in Makefile put it before the place where
we disable PIE. As a result, kernel is built without jump label support.
Move the lines disabling PIE before the asm goto test to make it work.
Fixes: e501ce957a78 ("x86: Force asm-goto")
Reported-by: Andreas Faerber <[email protected]>
Signed-off-by: Michal Kubecek <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
