diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2023-06-23 20:06:17 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-06-26 02:30:50 +0300 |
commit | f7584322e4fef794b290e5fdb290fa92a925236e (patch) | |
tree | 3175361513e0c9ea240f7ae92f7df144fec56ab6 /include/asm-generic | |
parent | c828856b51bb4180c0803c12ffaeb86c41336c11 (diff) | |
download | linux-f7584322e4fef794b290e5fdb290fa92a925236e.tar.xz |
riscv: disable HAVE_LD_DEAD_CODE_DATA_ELIMINATION for LLD
Linking allyesconfig with ld.lld-17 with CONFIG_DEAD_CODE_ELIMINATION=y
takes hours. Assuming this is a performance regression that can be
fixed, tentatively disable this for now so that allyesconfig builds
don't start timing out. If and when there's a fix to ld.lld, this can
be converted to a version check instead so that users of older but still
supported versions of ld.lld don't hurt themselves by enabling
CONFIG_LD_DEAD_CODE_DATA_ELIMINATION=y.
Link: https://github.com/ClangBuiltLinux/linux/issues/1881
Link: https://lore.kernel.org/linux-riscv/ZJXTwqZIkXLxXaSi@google.com/
Reported-by: Palmer Dabbelt <palmer@dabbelt.com>
Suggested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions