Build Chrome OS v4.19 kernel with clang |
||
Issue descriptionv4.19 will be the next LTS kernel version, groeck@ started preparing the rebase of v4.14. clang is used as compiler for newer Chrome OS kernels (>= v4.4). No major developments should be needed to build v4.19 for x86 and arm64 with clang , however some adaptation is still required, especially since x86 maintainers enforced the use of 'asm goto', which isn't supported by clang yet. This bug is used to keep track of the changes needed to build CrOS v4.19 with clang.
,
Oct 27
The following revision refers to this bug: https://chrome-internal.googlesource.com/chromeos/overlays/overlay-loonix-private/+/96dcf5b9c18f7bdf63f0027f7321e44e456ef5a9 commit 96dcf5b9c18f7bdf63f0027f7321e44e456ef5a9 Author: Matthias Kaehlcke <mka@chromium.org> Date: Sat Oct 27 00:19:05 2018
,
Oct 30
The following revision refers to this bug: https://chrome-internal.googlesource.com/chromeos/overlays/overlay-loonix-private/+/76c762145a88017c29e3f65f30c8d0c4b72cff05 commit 76c762145a88017c29e3f65f30c8d0c4b72cff05 Author: Matthias Kaehlcke <mka@chromium.org> Date: Tue Oct 30 04:18:20 2018
,
Nov 1
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/9ded75331ed0b7a6f00006d4ffd96ac5210d0976 commit 9ded75331ed0b7a6f00006d4ffd96ac5210d0976 Author: Matthias Kaehlcke <mka@chromium.org> Date: Thu Nov 01 00:38:21 2018 cros-kernel2: Make clang the default compiler for kernel builds clang is the CrOS default compiler for current and future kernels, reflect this in the .eclass. Only kernels >= v4.4 have support for being built with clang, hence build older kernels with gcc. BUG= chromium:891028 ,chromium:897984 TEST=kernels >= v4.4 are built with clang, older ones with gcc CQ-DEPEND=CL:1307996 Change-Id: I6cc9a22eed8d7617fe2495beea0451c80b24580c Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1294370 Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/9ded75331ed0b7a6f00006d4ffd96ac5210d0976/eclass/cros-kernel2.eclass [modify] https://crrev.com/9ded75331ed0b7a6f00006d4ffd96ac5210d0976/profiles/targets/chromeos/package.use
,
Nov 1
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 26