Thread (22 messages) 22 messages, 5 authors, 2020-12-02

Re: [PATCH v2 2/2] kbuild: Disable CONFIG_LD_ORPHAN_WARN for ld.lld 10.0.1

From: Masahiro Yamada <masahiroy@kernel.org>
Date: 2020-12-01 13:33:27
Also in: linux-kbuild, linuxppc-dev, lkml

On Wed, Nov 25, 2020 at 7:22 AM Kees Cook [off-list ref] wrote:
On Thu, Nov 19, 2020 at 01:13:27PM -0800, Nick Desaulniers wrote:
quoted
On Thu, Nov 19, 2020 at 12:57 PM Nathan Chancellor
[off-list ref] wrote:
quoted
ld.lld 10.0.1 spews a bunch of various warnings about .rela sections,
along with a few others. Newer versions of ld.lld do not have these
warnings. As a result, do not add '--orphan-handling=warn' to
LDFLAGS_vmlinux if ld.lld's version is not new enough.

Link: https://github.com/ClangBuiltLinux/linux/issues/1187
Link: https://github.com/ClangBuiltLinux/linux/issues/1193
Reported-by: Arvind Sankar <redacted>
Reported-by: kernelci.org bot <redacted>
Reported-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Kees Cook <redacted>
Signed-off-by: Nathan Chancellor <redacted>
Thanks for the additions in v2.
Reviewed-by: Nick Desaulniers <redacted>
I'm going to carry this for a few days in -next, and if no one screams,
ask Linus to pull it for v5.10-rc6.

Thanks!

--
Kees Cook

Sorry for the delay.
Applied to linux-kbuild.

But, I already see this in linux-next.

Please let me know if I should drop it from my tree.


-- 
Best Regards
Masahiro Yamada

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help