Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-22 Thread Nick Desaulniers
On Mon, Oct 22, 2018 at 2:10 PM Nick Desaulniers wrote: > > On Wed, Oct 17, 2018 at 12:25 AM Jani Nikula wrote: > > > > On Tue, 16 Oct 2018, Nick Desaulniers wrote: > > > On Tue, Oct 16, 2018 at 8:35 AM Stephen Boyd wrote: > > >> > > >> Quoting Jani Nikula (2018-10-16 05:29:38) > > >> > Clang

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-22 Thread Nick Desaulniers
On Wed, Oct 17, 2018 at 12:25 AM Jani Nikula wrote: > > On Tue, 16 Oct 2018, Nick Desaulniers wrote: > > On Tue, Oct 16, 2018 at 8:35 AM Stephen Boyd wrote: > >> > >> Quoting Jani Nikula (2018-10-16 05:29:38) > >> > Clang build with UBSAN enabled leads to the following build error: > > > > I'm

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-17 Thread Jani Nikula
On Tue, 16 Oct 2018, Nick Desaulniers wrote: > On Tue, Oct 16, 2018 at 8:35 AM Stephen Boyd 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 >

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-16 Thread Nick Desaulniers
On Tue, Oct 16, 2018 at 8:35 AM Stephen Boyd 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

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-16 Thread Stephen Boyd
Quoting Jani Nikula (2018-10-16 05:29:38) > Clang build with UBSAN enabled leads to the following build error: > > drivers/gpu/drm/i915/intel_engine_cs.o: In function > `intel_engine_init_execlist': > drivers/gpu/drm/i915/intel_engine_cs.c:411: undefined reference to >

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-16 Thread Chris Wilson
Quoting Jani Nikula (2018-10-16 13:29:38) > Clang build with UBSAN enabled leads to the following build error: > > drivers/gpu/drm/i915/intel_engine_cs.o: In function > `intel_engine_init_execlist': > drivers/gpu/drm/i915/intel_engine_cs.c:411: undefined reference to >

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-16 Thread Nathan Chancellor
On Tue, Oct 16, 2018 at 03:29:38PM +0300, Jani Nikula wrote: > Clang build with UBSAN enabled leads to the following build error: > > drivers/gpu/drm/i915/intel_engine_cs.o: In function > `intel_engine_init_execlist': > drivers/gpu/drm/i915/intel_engine_cs.c:411: undefined reference to >

[Intel-gfx] [PATCH 2/2] drm/i915: Ensure intel_engine_init_execlist() builds with Clang

2018-10-16 Thread Jani Nikula
Clang build with UBSAN enabled leads to the following build error: drivers/gpu/drm/i915/intel_engine_cs.o: In function `intel_engine_init_execlist': drivers/gpu/drm/i915/intel_engine_cs.c:411: undefined reference to `__compiletime_assert_411' Again, for this to work the code would first need