lkml.org 
[lkml]   [2019]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: linux-next: Tree for Nov 19 (kcsan)
    On Tue, 19 Nov 2019 at 16:11, Randy Dunlap <rdunlap@infradead.org> wrote:
    >
    > On 11/19/19 12:46 AM, Stephen Rothwell wrote:
    > > Hi all,
    > >
    > > Changes since 20191118:
    > >
    >
    > on x86_64:
    >
    > It seems that this function can already be known by the compiler as a
    > builtin:
    >
    > ../kernel/kcsan/core.c:619:6: warning: conflicting types for built-in function ‘__tsan_func_exit’ [-Wbuiltin-declaration-mismatch]
    > void __tsan_func_exit(void)
    > ^~~~~~~~~~~~~~~~
    >
    >
    > $ gcc --version
    > gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407]

    Interesting. Could you share the .config? So far I haven't been able
    to reproduce.

    I can get the warning if I manually add -fsanitize=thread to flags for
    kcsan/core.c (but normally disabled via KCSAN_SANITIZE := n). If
    possible could you also share the output of `make V=1` for
    kcsan/core.c?

    Thanks,
    -- Marco

    > --
    > ~Randy
    > Reported-by: Randy Dunlap <rdunlap@infradead.org>

    \
     
     \ /
      Last update: 2019-11-19 17:13    [W:4.279 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site