From 127d1fafc7d808f8bfcbb50170aa1f00b0209dad Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Mon, 13 Jun 2022 16:15:57 +0200 Subject: dashboard/config/linux: enforce DWARF4 for KMSAN Newer toolchaings generate DWARF5 by default, which might be problematic for binutils on syzbot. Use DWARF4 instead. --- dashboard/config/linux/bits/kmsan.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dashboard/config/linux/bits') 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] -- cgit mrf-deployment