lkml.org 
[lkml]   [2023]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] lib: Kconfig: disable dynamic sanitizers for test builds
    On Wed, Oct 18, 2023 at 9:22 AM Marco Elver <elver@google.com> wrote:
    >
    > That being said, we're aware of KASAN having had more issues and there
    > are some suboptions that have been disabled because of that (like
    > KASAN_STACK). I'm not sure if Clang's KASAN instrumentation has had
    > some recent improvements (we did investigate it, but I can't recall
    > what the outcome was [1]) - maybe try a more recent compiler? However,
    > KCSAN and KMSAN shouldn't have any issues (if KMSAN is enabled,
    > FRAME_WARN is 0). And having build tests with them enabled isn't
    > useless at all: we're making sure that these tools (even though only
    > for debugging), still work. We _want_ them to work during random build
    > testing!
    >
    > Please share the concrete problem you're having, because this change
    > will make things worse for everyone in the long run.
    >
    > [1] https://github.com/llvm/llvm-project/issues/38157

    Some recent issues I discovered in clang that exacerbate stack usage
    in general, which is then amplified by KASAN:
    1. https://github.com/llvm/llvm-project/issues/68746
    2. https://github.com/llvm/llvm-project/issues/68747
    Those are next up on my to fix list after what I'm working on now. I
    suspect that those aren't the last issues now that I've found a thread
    to pull on.

    --
    Thanks,
    ~Nick Desaulniers

    \
     
     \ /
      Last update: 2023-10-18 18:39    [W:5.628 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site