Commit Graph

1568 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
4a61b06bdb Linux 4.9.232
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 08:39:12 +09:00
Fangrui Song
2050afde54 Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
commit ca9b31f6bb upstream.

When CROSS_COMPILE is set (e.g. aarch64-linux-gnu-), if
$(CROSS_COMPILE)elfedit is found at /usr/bin/aarch64-linux-gnu-elfedit,
GCC_TOOLCHAIN_DIR will be set to /usr/bin/.  --prefix= will be set to
/usr/bin/ and Clang as of 11 will search for both
$(prefix)aarch64-linux-gnu-$needle and $(prefix)$needle.

GCC searchs for $(prefix)aarch64-linux-gnu/$version/$needle,
$(prefix)aarch64-linux-gnu/$needle and $(prefix)$needle. In practice,
$(prefix)aarch64-linux-gnu/$needle rarely contains executables.

To better model how GCC's -B/--prefix takes in effect in practice, newer
Clang (since
3452a0d8c1)
only searches for $(prefix)$needle. Currently it will find /usr/bin/as
instead of /usr/bin/aarch64-linux-gnu-as.

Set --prefix= to $(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE))
(/usr/bin/aarch64-linux-gnu-) so that newer Clang can find the
appropriate cross compiling GNU as (when -no-integrated-as is in
effect).

Cc: stable@vger.kernel.org
Reported-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Fangrui Song <maskray@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://github.com/ClangBuiltLinux/linux/issues/1099
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 08:38:45 +09:00
Greg Kroah-Hartman
d7c9fec9a1 Linux 4.9.231 2023-05-16 08:31:11 +09:00
Greg Kroah-Hartman
3c39b800a8 Linux 4.9.230 2023-05-16 08:29:33 +09:00
Sasha Levin
d15e6fc4bd Linux 4.9.229
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 08:22:13 +09:00
Greg Kroah-Hartman
6c6a34784e Linux 4.9.228 2023-05-15 17:34:52 +09:00
Masahiro Yamada
afc4e00f99 kbuild: force to build vmlinux if CONFIG_MODVERSION=y
commit 4b50c8c4ea upstream.

This code does not work as stated in the comment.

$(CONFIG_MODVERSIONS) is always empty because it is expanded before
include/config/auto.conf is included. Hence, 'make modules' with
CONFIG_MODVERSION=y cannot record the version CRCs.

This has been broken since 2003, commit ("kbuild: Enable modules to be
build using the "make dir/" syntax"). [1]

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=15c6240cdc44bbeef3c4797ec860f9765ef4f1a7
Cc: linux-stable <stable@vger.kernel.org> # v2.5.71+
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 17:34:40 +09:00
secuflag
d0a4263d1c Fix Makefile 2023-05-15 17:31:56 +09:00
Greg Kroah-Hartman
1171758626 Linux 4.9.227 2023-05-15 17:31:44 +09:00
Greg Kroah-Hartman
251466cee4 Linux 4.9.226 2023-05-15 17:30:50 +09:00
Greg Kroah-Hartman
e65b297256 Linux 4.9.225 2023-05-15 17:29:36 +09:00
Greg Kroah-Hartman
1bc179dcf6 Linux 4.9.224 2023-05-15 17:28:22 +09:00
Greg Kroah-Hartman
8232bd0e56 Linux 4.9.223 2023-05-15 17:26:43 +09:00
Greg Kroah-Hartman
5bf3c55147 Linux 4.9.222 2023-05-15 17:25:22 +09:00
Greg Kroah-Hartman
6b922f4f4b Linux 4.9.221 2023-05-15 17:24:30 +09:00
Greg Kroah-Hartman
35a7c7e839 Linux 4.9.220 2023-05-15 17:16:30 +09:00
Greg Kroah-Hartman
ea9fb79ddc Linux 4.9.219 2023-05-15 17:13:33 +09:00
Greg Kroah-Hartman
561bb84870 Linux 4.9.218 2023-05-15 17:12:44 +09:00
Greg Kroah-Hartman
d00cd86da5 Linux 4.9.217 2023-05-15 17:10:32 +09:00
Greg Kroah-Hartman
44b0fcc518 Linux 4.9.216 2023-05-15 17:03:23 +09:00
Greg Kroah-Hartman
b708848c98 Linux 4.9.215 2023-05-15 17:01:02 +09:00
Greg Kroah-Hartman
f5b241d06a Linux 4.9.214 2023-05-15 16:57:28 +09:00
Greg Kroah-Hartman
5d76031de5 Linux 4.9.213 2023-05-15 16:55:07 +09:00
Greg Kroah-Hartman
5d67c99caf Linux 4.9.212 2023-05-15 16:48:24 +09:00
Greg Kroah-Hartman
aa3bb78a4f Linux 4.9.211 2023-05-15 16:35:49 +09:00
Greg Kroah-Hartman
50c9b47143 Linux 4.9.210 2023-05-15 16:33:44 +09:00
Greg Kroah-Hartman
941a46ea2f Linux 4.9.209 2023-05-15 16:32:55 +09:00
Greg Kroah-Hartman
a922a32496 Linux 4.9.208 2023-05-15 16:21:58 +09:00
Greg Kroah-Hartman
7a02574989 Linux 4.9.207 2023-05-15 16:18:03 +09:00
Greg Kroah-Hartman
29edac3ae3 Linux 4.9.206 2023-05-15 16:08:39 +09:00
Greg Kroah-Hartman
48ddc49980 Linux 4.9.205 2023-05-15 16:05:43 +09:00
Greg Kroah-Hartman
d3bae83c5c Linux 4.9.204 2023-05-15 15:20:08 +09:00
Greg Kroah-Hartman
56433a7974 Linux 4.9.203 2023-05-15 15:12:58 +09:00
Greg Kroah-Hartman
7be1dff92a Linux 4.9.202 2023-05-15 15:06:54 +09:00
Greg Kroah-Hartman
1b482055f1 Linux 4.9.201 2023-05-15 15:00:15 +09:00
Greg Kroah-Hartman
03362f5bd3 Linux 4.9.200 2023-05-15 14:57:30 +09:00
Greg Kroah-Hartman
a9d497ba22 Linux 4.9.199 2023-05-15 14:56:38 +09:00
Greg Kroah-Hartman
1515cd841a Linux 4.9.198 2023-05-15 14:51:12 +09:00
Greg Kroah-Hartman
6ceb58acaa Linux 4.9.197 2023-05-15 14:49:54 +09:00
Greg Kroah-Hartman
ab41b27c4b Linux 4.9.196 2023-05-15 14:41:44 +09:00
Greg Kroah-Hartman
b4a1cba504 Linux 4.9.195 2023-05-15 14:35:16 +09:00
Greg Kroah-Hartman
c671b2a3a9 Linux 4.9.194 2023-05-15 14:31:26 +09:00
Greg Kroah-Hartman
5b812985a3 Linux 4.9.193 2023-05-15 14:29:18 +09:00
Greg Kroah-Hartman
a1cafd0fe8 Linux 4.9.192 2023-05-15 14:28:55 +09:00
Greg Kroah-Hartman
6e325283b6 Linux 4.9.191 2023-05-15 14:22:23 +09:00
Greg Kroah-Hartman
0c02413643 Linux 4.9.190 2023-05-15 14:20:21 +09:00
Greg Kroah-Hartman
6b7529b2dc Linux 4.9.189 2023-05-15 14:16:34 +09:00
Greg Kroah-Hartman
9b94472510 Linux 4.9.188 2023-05-15 14:09:55 +09:00
Greg Kroah-Hartman
b8df043985 Linux 4.9.187 2023-05-15 14:08:53 +09:00
Greg Kroah-Hartman
02c53c16d4 Linux 4.9.186 2023-05-15 13:59:17 +09:00