[Mesa-dev] Please test the automake-gallium branch

Török Edwin edwin+ml-mesadev at etorok.net
Wed Sep 26 14:50:12 PDT 2012


On 09/26/2012 11:59 PM, Matt Turner wrote:
> I've pushed an automake-gallium2 branch to my repo with a number of
> fixes squashed-in.
> 
> git://people.freedesktop.org/~mattst88/mesa automake-gallium2

Nice progress!

I was able to build it after reversing the 'if' below.

It doesn't load though:
libGL: OpenDriver: trying opt/xorg/lib/dri/r600_dri.so
libGL error: dlopen opt/xorg/lib/dri/r600_dri.so failed (opt/xorg/lib/dri/r600_dri.so: undefined symbol: _ZN4llvm13ParseAssemblyEPNS_12MemoryBufferEPNS_6ModuleERNS_12SMDiagnosticERNS_11LLVMContextE)


diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Makefile.am
index d0e0ec3..668ad5f 100644
--- a/src/gallium/drivers/radeon/Makefile.am
+++ b/src/gallium/drivers/radeon/Makefile.am
@@ -28,9 +28,9 @@ SIRegisterGetHWRegNum.inc: SIGenRegisterInfo.pl

 R600Intrinsics.td: R600IntrinsicsNoOpenCL.td R600IntrinsicsOpenCL.td
 if HAVE_R600_LLVM_INTRINSICS
-       cp $(srcdir)/R600IntrinsicsNoOpenCL.td R600Intrinsics.td
-else
        cp $(srcdir)/R600IntrinsicsOpenCL.td R600Intrinsics.td
+else
+       cp $(srcdir)/R600IntrinsicsNoOpenCL.td R600Intrinsics.td
 endif

However it still seems to be missing a dependency as rerunning configure
doesn't cause the .td file to be copied, had to manually remove it.

Another issue is that the yacc-generated files are not removed by 'make clean',
but thats probably on purpose (do the generated files get shipped in the release tarball?),
I should've run 'make distclean'.

But 'make distclean' fails so I had to manually remove those generated files:
make[3]: Entering directory `/home/edwin/HDD/me/language/C++/xorg/mesa/src/gallium/winsys/sw/fbdev'
make[3]: *** No rule to make target `distclean'.  Stop.

Best regards,
--Edwin


More information about the mesa-dev mailing list