diff options
author | Nathan Chancellor <nathan@kernel.org> | 2022-03-18 16:07:47 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-22 21:12:13 +0100 |
commit | f6a2c2b2de817078ac5a7e58c10e746165e7825d (patch) | |
tree | 27c0524e4ca8afcbe412c0478c916f897a63cb0d /block | |
parent | 262448f3d18959d175b10e28a3b65f41d1d7313f (diff) | |
download | linux-f6a2c2b2de817078ac5a7e58c10e746165e7825d.tar.bz2 |
x86/Kconfig: Only allow CONFIG_X86_KERNEL_IBT with ld.lld >= 14.0.0
With CONFIG_X86_KERNEL_IBT=y and a version of ld.lld prior to 14.0.0,
there are numerous objtool warnings along the lines of:
warning: objtool: .plt+0x6: indirect jump found in RETPOLINE build
This is a known issue that has been resolved in ld.lld 14.0.0. Prevent
CONFIG_X86_KERNEL_IBT from being selectable when using one of these
problematic ld.lld versions.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220318230747.3900772-3-nathan@kernel.org
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions