forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section warnings on x86 with clang-10 #1193
Labels
duplicate
This issue or pull request already exists
Comments
dup #1187 |
ruscur
pushed a commit
to ruscur/linux
that referenced
this issue
Nov 13, 2020
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. Reported-by: Arvind Sankar <nivedita@alum.mit.edu> Reported-by: kernelci.org bot <bot@kernelci.org> Reported-by: Mark Brown <broonie@kernel.org> Link: ClangBuiltLinux#1187 Link: ClangBuiltLinux#1193 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
fengguang
pushed a commit
to 0day-ci/linux
that referenced
this issue
Nov 13, 2020
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. Reported-by: Arvind Sankar <nivedita@alum.mit.edu> Reported-by: kernelci.org bot <bot@kernelci.org> Reported-by: Mark Brown <broonie@kernel.org> Link: ClangBuiltLinux#1187 Link: ClangBuiltLinux#1193 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Hi Mr. Brown, You are receiving this because I'm greenest of newbs and didn't know where else to put it. A GIANT KUDO!! My humble Acer270 has gone from 34fps to 185fps with the new intel-drm gma500drmfb. Thanks for your work!! Andrew Waddington |
ruscur
pushed a commit
to ruscur/linux
that referenced
this issue
Nov 25, 2020
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: ClangBuiltLinux#1187 Link: ClangBuiltLinux#1193 Reported-by: Arvind Sankar <nivedita@alum.mit.edu> Reported-by: kernelci.org bot <bot@kernelci.org> Reported-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20201119204656.3261686-2-natechancellor@gmail.com
ruscur
pushed a commit
to ruscur/linux
that referenced
this issue
Dec 3, 2020
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: ClangBuiltLinux#1187 Link: ClangBuiltLinux#1193 Reported-by: Arvind Sankar <nivedita@alum.mit.edu> Reported-by: kernelci.org bot <bot@kernelci.org> Reported-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Kendrenogen
pushed a commit
to Kendrenogen/android_kernel_lge_sm8150
that referenced
this issue
Mar 26, 2024
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: ClangBuiltLinux/linux#1187 Link: ClangBuiltLinux/linux#1193 Reported-by: Arvind Sankar <nivedita@alum.mit.edu> Reported-by: kernelci.org bot <bot@kernelci.org> Reported-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Kendrenogen
pushed a commit
to Kendrenogen/android_kernel_lge_sm8150
that referenced
this issue
May 7, 2024
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: ClangBuiltLinux/linux#1187 Link: ClangBuiltLinux/linux#1193 Reported-by: Arvind Sankar <nivedita@alum.mit.edu> Reported-by: kernelci.org bot <bot@kernelci.org> Reported-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Huge numbers of warnings in the form
ld.lld: warning: arch/x86/kernel/head_64.o:(.rela.data) is being placed in '.rela.data'
are being generated on -next builds with clang-10 for an x86_64 defconfig: when built with ld.ldd and LLVM=1. Full report:
https://storage.kernelci.org//next/master/next-20201103/x86_64/x86_64_defconfig/clang-10/build-warnings.log
@gctucker
The text was updated successfully, but these errors were encountered: