On Tue, 16 Oct 2018, Nick Desaulniers <ndesaulniers@xxxxxxxxxx> wrote: > On Tue, Oct 16, 2018 at 8:35 AM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote: >> >> Quoting Jani Nikula (2018-10-16 05:29:38) >> > Clang build with UBSAN enabled leads to the following build error: > > I'm overjoyed that you're testing this configuration! If you find more > bugs, we're happy to help triage if you let us know about them here: > https://github.com/ClangBuiltLinux/linux/issues. Everyone, thanks for the patches/reports, reviews, and testing! These two have now been pushed to drm-intel-next-queued; due to timing they're expected to land upstream in the merge window for v4.21 i.e. not the imminent one. (So much for the quick turnaround! ;) Also glad to connect you all here. :) So I don't mind making small concessions to Clang build such as these in the interest of gaining better static analysis. Our (i915) own pre-merge build testing uses primarily gcc and sparse, with a bunch of extra flags (see the top of drivers/gpu/drm/i915/Makefile), but I'm not sure about adding Clang to the mix anytime soon. Without a tight and constant feedback loop new issues will pop up though. Maybe we'll spot inline function use in constant expressions in review, maybe we don't. I'm sure there are other Clang specific issues. Do you have any plans for setting up something like the 0day? Without the feedback loop I think you'll take one step back for every two steps you progress... BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx