commit | 6e2d6fdccef0af62d6e97ed2ece7f903ef681a3c | [log] [tgz] |
---|---|---|
author | Manoj Gupta <manojgupta@google.com> | Sat Feb 26 14:19:57 2022 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 28 18:56:31 2022 +0000 |
tree | 82e999852e8df7f0c792cc06e6cb071da05ed063 | |
parent | d5d341221a801b6d7fde56b665d82dde7576cf1d [diff] |
cros-kernel2.eclass: Disable FORTIFY_SOURCE for kasan/ubsan Disable FORTIFY_SOURCE for kasan/ubsan. Note that this is currently disabled upstream but Chrome OS has a local revert to have it enabled, see b:207716409. Since kasan/ubsan are not production configs, it should be ok to disable it. This fixes the linker error reported in https://github.com/ClangBuiltLinux/linux/issues/1496 which we also see in kasan/ubsan builds with a newer clang: https://ci.chromium.org/p/chromeos/builders/cq/amd64-generic-ubsan-cq/b8821193676102987361? This change can be reverted once there is a general solution in place for b:207716409. BUG=b:221611945, b:207716409 TEST=4.14 kernel builds with USE=ubsan and tot llvm. Change-Id: Ibac6bbf534df9378a4d1315c9b5dde7fe6190871 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/3492916 Reviewed-by: Luis Lozano <llozano@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org> Auto-Submit: Manoj Gupta <manojgupta@chromium.org>