diff options
| author | Alexander Potapenko <glider@google.com> | 2022-06-13 16:15:57 +0200 |
|---|---|---|
| committer | Alexander Potapenko <ramosian.glider@gmail.com> | 2022-06-14 12:32:24 +0200 |
| commit | 127d1fafc7d808f8bfcbb50170aa1f00b0209dad (patch) | |
| tree | 2783fc25ebc63990caa4af27b96cbe859e003979 /dashboard/config/linux | |
| parent | f6ad0dfbec67e9c32ab952f80ef9141df653cd56 (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')
| -rw-r--r-- | dashboard/config/linux/bits/kmsan.yml | 6 | ||||
| -rw-r--r-- | dashboard/config/linux/upstream-kmsan-base.config | 4 | ||||
| -rw-r--r-- | dashboard/config/linux/upstream-kmsan.config | 4 |
3 files changed, 10 insertions, 4 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] diff --git a/dashboard/config/linux/upstream-kmsan-base.config b/dashboard/config/linux/upstream-kmsan-base.config index c285dd5e4..b563dbf35 100644 --- a/dashboard/config/linux/upstream-kmsan-base.config +++ b/dashboard/config/linux/upstream-kmsan-base.config @@ -4903,8 +4903,8 @@ CONFIG_DEBUG_MISC=y # CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_INFO_NONE is not set -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -# CONFIG_DEBUG_INFO_DWARF4 is not set +# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set +CONFIG_DEBUG_INFO_DWARF4=y # CONFIG_DEBUG_INFO_DWARF5 is not set # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_INFO_COMPRESSED is not set diff --git a/dashboard/config/linux/upstream-kmsan.config b/dashboard/config/linux/upstream-kmsan.config index d80ceeaa9..a762397c2 100644 --- a/dashboard/config/linux/upstream-kmsan.config +++ b/dashboard/config/linux/upstream-kmsan.config @@ -8351,8 +8351,8 @@ CONFIG_DEBUG_MISC=y # CONFIG_DEBUG_INFO=y # CONFIG_DEBUG_INFO_NONE is not set -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -# CONFIG_DEBUG_INFO_DWARF4 is not set +# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set +CONFIG_DEBUG_INFO_DWARF4=y # CONFIG_DEBUG_INFO_DWARF5 is not set # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_INFO_COMPRESSED is not set |
