aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/config/linux/bits
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2022-06-13 16:15:57 +0200
committerAlexander Potapenko <ramosian.glider@gmail.com>2022-06-14 12:32:24 +0200
commit127d1fafc7d808f8bfcbb50170aa1f00b0209dad (patch)
tree2783fc25ebc63990caa4af27b96cbe859e003979 /dashboard/config/linux/bits
parentf6ad0dfbec67e9c32ab952f80ef9141df653cd56 (diff)
dashboard/config/linux: enforce DWARF4 for KMSAN
Newer toolchaings generate DWARF5 by default, which might be problematic for binutils on syzbot. Use DWARF4 instead.
Diffstat (limited to 'dashboard/config/linux/bits')
-rw-r--r--dashboard/config/linux/bits/kmsan.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/dashboard/config/linux/bits/kmsan.yml b/dashboard/config/linux/bits/kmsan.yml
index 38bc33a6d..16256f1d7 100644
--- a/dashboard/config/linux/bits/kmsan.yml
+++ b/dashboard/config/linux/bits/kmsan.yml
@@ -28,6 +28,12 @@ config:
# KMSAN doesn't support ORC unwinder (https://github.com/google/kmsan/issues/48).
- UNWINDER_FRAME_POINTER
+ # Newer Clang versions generate DWARF5 by default, but old binutils choke on that.
+ # This results in syzbot being unable to symbolize reports.
+ # Stick to DWARF4 for now.
+ - DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT: [n, weak]
+ - DEBUG_INFO_DWARF4
+
- HYPERVISOR_GUEST: n
- PARAVIRT: n
- PARAVIRT_SPINLOCKS: [n, weak]