Nick Desaulniers 3578eb5fcd ANDROID: x86: boot: Makefile: pass CLANG_FLAGS to Kbuild
The build machines seem to have older versions of ld.bfd that don't
support R_X86_64_32S absolute relocations, visible as the following
failure in presubmit testing:

Invalid absolute R_X86_64_32S relocation: __end_of_kernel_reserve

It seems that parts of KBUILD that overwrite KBUILD_CFLAGS drop import
clang flags like `--gcc-toolchain` (where to look for the GNU binutils),
so clang just finds the host utilities and just uses those.

This is bad for hermeticity of builds, and needs to be fixed upstream.

Link: https://github.com/ClangBuiltLinux/linux/issues/618
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I30de5841a50e3fd97ba95c25cc12339d47ad083e
2019-07-23 23:01:36 +00:00
2019-07-08 08:24:40 +02:00
2019-07-08 08:24:40 +02:00
2019-07-08 08:24:40 +02:00
2019-07-08 08:24:40 +02:00
2019-06-18 14:37:27 +01:00
2019-07-08 08:24:40 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%