[Mesa-dev] [PATCH 4/6] configure.ac: Set and use HAVE_GALLIUM_LLVM define

Tobias Droste tdroste at gmx.de
Thu Dec 8 22:02:36 UTC 2016


Am Donnerstag, 8. Dezember 2016, 17:14:12 CET schrieb Emil Velikov:
> On 8 December 2016 at 02:03, Tobias Droste <tdroste at gmx.de> wrote:
> > Gallium code used HAVE_LLVM to check if it needs to compile code for
> > LLVM in header and source files.
> > 
> > With the new logic HAVE_LLVM is always set. Use extra define to figure
> > out if LLVM is used.
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99010
> 
> If you agree with the comment in 2/6 we can drop this patch. Unless
> I'm missing something ?
> 
> Emil

This patch is acutally the most important one. Without this patch you get the 
following error with softpipe:
libGL: dlopen lib/gallium/swrast_dri.so failed (lib/gallium/swrast_dri.so: 
undefined symbol: draw_gs_llvm_destroy_variant)

So patch 4 is needed and requires patch 2.

Tobias


More information about the mesa-dev mailing list