summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Linux 4.14.148v4.14.148Greg Kroah-Hartman2019-10-071-1/+1
|
* Linux 4.14.147v4.14.147Greg Kroah-Hartman2019-10-051-1/+1
|
* objtool: Query pkg-config for libelf locationRolf Eike Beer2019-10-051-1/+3
| | | | | | | | | | | | | | commit 056d28d135bca0b1d0908990338e00e9dadaf057 upstream. If it is not in the default location, compilation fails at several points. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/91a25e992566a7968fedc89ec80e7f4c83ad0548.1553622500.git.jpoimboe@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Linux 4.14.146v4.14.146Greg Kroah-Hartman2019-09-211-1/+1
|
* Linux 4.14.145v4.14.145Greg Kroah-Hartman2019-09-191-1/+1
|
* Linux 4.14.144v4.14.144Greg Kroah-Hartman2019-09-161-1/+1
|
* Linux 4.14.143v4.14.143Greg Kroah-Hartman2019-09-101-1/+1
|
* Linux 4.14.142v4.14.142Greg Kroah-Hartman2019-09-061-1/+1
|
* Linux 4.14.141v4.14.141Greg Kroah-Hartman2019-08-291-1/+1
|
* Linux 4.14.140v4.14.140Greg Kroah-Hartman2019-08-251-1/+1
|
* Linux 4.14.139v4.14.139Greg Kroah-Hartman2019-08-161-1/+1
|
* Linux 4.14.138v4.14.138Greg Kroah-Hartman2019-08-091-1/+1
|
* Linux 4.14.137v4.14.137Greg Kroah-Hartman2019-08-061-1/+1
|
* kbuild: initialize CLANG_FLAGS correctly in the top MakefileMasahiro Yamada2019-08-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 5241ab4cf42d3a93b933b55d3d53f43049081fa1 upstream. CLANG_FLAGS is initialized by the following line: CLANG_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%)) ..., which is run only when CROSS_COMPILE is set. Some build targets (bindeb-pkg etc.) recurse to the top Makefile. When you build the kernel with Clang but without CROSS_COMPILE, the same compiler flags such as -no-integrated-as are accumulated into CLANG_FLAGS. If you run 'make CC=clang' and then 'make CC=clang bindeb-pkg', Kbuild will recompile everything needlessly due to the build command change. Fix this by correctly initializing CLANG_FLAGS. Fixes: 238bcbc4e07f ("kbuild: consolidate Clang compiler flags") Cc: <stable@vger.kernel.org> # v5.0+ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Acked-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Linux 4.14.136v4.14.136Greg Kroah-Hartman2019-08-041-1/+1
|
* Linux 4.14.135v4.14.135Greg Kroah-Hartman2019-07-311-1/+1
|
* kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGSNathan Chancellor2019-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit 589834b3a0097a4908f4112eac0ca2feb486fa32 ] In commit ebcc5928c5d9 ("arm64: Silence gcc warnings about arch ABI drift"), the arm64 Makefile added -Wno-psabi to KBUILD_CFLAGS, which is a GCC only option so clang rightfully complains: warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option] https://clang.llvm.org/docs/DiagnosticsReference.html#wunknown-warning-option However, by default, this is merely a warning so the build happily goes on with a slew of these warnings in the process. Commit c3f0d0bc5b01 ("kbuild, LLVMLinux: Add -Werror to cc-option to support clang") worked around this behavior in cc-option by adding -Werror so that unknown flags cause an error. However, this all happens silently and when an unknown flag is added to the build unconditionally like -Wno-psabi, cc-option will always fail because there is always an unknown flag in the list of flags. This manifested as link time failures in the arm64 libstub because -fno-stack-protector didn't get added to KBUILD_CFLAGS. To avoid these weird cryptic failures in the future, make clang behave like gcc and immediately error when it encounters an unknown flag by adding -Werror=unknown-warning-option to CLANG_FLAGS. This can be added unconditionally for clang because it is supported by at least 3.0.0, according to godbolt [1] and 4.0.0, according to its documentation [2], which is far earlier than we typically support. [1]: https://godbolt.org/z/7F7rm3 [2]: https://releases.llvm.org/4.0.0/tools/clang/docs/DiagnosticsReference.html#wunknown-warning-option Link: https://github.com/ClangBuiltLinux/linux/issues/511 Link: https://github.com/ClangBuiltLinux/linux/issues/517 Suggested-by: Peter Smith <peter.smith@linaro.org> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Tested-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
* Linux 4.14.134v4.14.134Greg Kroah-Hartman2019-07-211-1/+1
|
* Linux 4.14.133v4.14.133Greg Kroah-Hartman2019-07-101-1/+1
|
* Linux 4.14.132v4.14.132Greg Kroah-Hartman2019-07-031-1/+1
|
* Linux 4.14.131v4.14.131Greg Kroah-Hartman2019-06-271-1/+1
|
* Linux 4.14.130v4.14.130Greg Kroah-Hartman2019-06-251-1/+1
|
* gcc-9: silence 'address-of-packed-member' warningLinus Torvalds2019-06-251-1/+1
| | | | | | | | | | | commit 6f303d60534c46aa1a239f29c321f95c83dda748 upstream. We already did this for clang, but now gcc has that warning too. Yes, yes, the address may be unaligned. And that's kind of the point. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Linux 4.14.129v4.14.129Greg Kroah-Hartman2019-06-221-1/+1
|
* Linux 4.14.128v4.14.128Greg Kroah-Hartman2019-06-191-1/+1
|
* Linux 4.14.127v4.14.127Greg Kroah-Hartman2019-06-171-1/+1
|
* Linux 4.14.126v4.14.126Greg Kroah-Hartman2019-06-151-1/+1
|
* Linux 4.14.125v4.14.125Greg Kroah-Hartman2019-06-111-1/+1
|
* Linux 4.14.124v4.14.124Greg Kroah-Hartman2019-06-091-1/+1
|
* Linux 4.14.123v4.14.123Greg Kroah-Hartman2019-05-311-1/+1
|
* Linux 4.14.122v4.14.122Greg Kroah-Hartman2019-05-251-1/+1
|
* Linux 4.14.121v4.14.121Greg Kroah-Hartman2019-05-211-1/+1
|
* Linux 4.14.120v4.14.120Greg Kroah-Hartman2019-05-161-1/+1
|
* Linux 4.14.119v4.14.119Greg Kroah-Hartman2019-05-141-1/+1
|
* Linux 4.14.118v4.14.118Greg Kroah-Hartman2019-05-101-1/+1
|
* Linux 4.14.117v4.14.117Greg Kroah-Hartman2019-05-081-1/+1
|
* Linux 4.14.116v4.14.116Greg Kroah-Hartman2019-05-041-1/+1
|
* Linux 4.14.115v4.14.115Greg Kroah-Hartman2019-05-021-1/+1
|
* Linux 4.14.114v4.14.114Greg Kroah-Hartman2019-04-271-1/+1
|
* Revert "kbuild: use -Oz instead of -Os when using clang"Matthias Kaehlcke2019-04-271-2/+1
| | | | | | | | | | | | | | | | | | commit a75bb4eb9e565b9f5115e2e8c07377ce32cbe69a upstream. The clang option -Oz enables *aggressive* optimization for size, which doesn't necessarily result in smaller images, but can have negative impact on performance. Switch back to the less aggressive -Os. This reverts commit 6748cb3c299de1ffbe56733647b01dbcc398c419. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
* Linux 4.14.113v4.14.113Greg Kroah-Hartman2019-04-201-1/+1
|
* Linux 4.14.112v4.14.112Greg Kroah-Hartman2019-04-171-1/+1
|
* kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LDNick Desaulniers2019-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | commit ad15006cc78459d059af56729c4d9bed7c7fd860 upstream. This causes an issue when trying to build with `make LD=ld.lld` if ld.lld and the rest of your cross tools aren't in the same directory (ex. /usr/local/bin) (as is the case for Android's build system), as the GCC_TOOLCHAIN_DIR then gets set based on `which $(LD)` which will point where LLVM tools are, not GCC/binutils tools are located. Instead, select the GCC_TOOLCHAIN_DIR based on another tool provided by binutils for which LLVM does not provide a substitute for, such as elfedit. Fixes: 785f11aa595b ("kbuild: Add better clang cross build support") Link: https://github.com/ClangBuiltLinux/linux/issues/341 Suggested-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Tested-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
* Linux 4.14.111v4.14.111Greg Kroah-Hartman2019-04-051-1/+1
|
* Linux 4.14.110v4.14.110Greg Kroah-Hartman2019-04-031-1/+1
|
* Linux 4.14.109v4.14.109Greg Kroah-Hartman2019-03-271-1/+1
|
* Linux 4.14.108v4.14.108Greg Kroah-Hartman2019-03-231-1/+1
|
* Linux 4.14.107v4.14.107Greg Kroah-Hartman2019-03-191-1/+1
|
* Linux 4.14.106v4.14.106Greg Kroah-Hartman2019-03-131-1/+1
|
* Linux 4.14.105v4.14.105Greg Kroah-Hartman2019-03-051-1/+1
|