On Mon, Mar 9, 2009 at 14:42, Kamalneet Singh <kamalnee...@samsung.com> wrote: > Michel Dänzer wrote: >> On Mon, 2009-03-09 at 16:12 +0530, Kamalneet Singh wrote: >>> I got link errors while building gallium-mesa-7.4 branch with "make >>> linux-llvm". The attached patch fixes it. >>> >>> But I wonder which is the right branch for running mesa with llvm, >>> preferably with softpipe. Can someone please tell that.. :) >> >> It might work, but the master branch is probably best for this. >> >> The existing set of LLVM components worked for me when I checked it in. >> Out of curiosity, what kind of failure are you getting without your >> change? Also, which version of LLVM are you using? >> > > Thanks.. :) > > The master doesn't build with "make linux-llvm" either. It gives lots of > "template with C linkage" errors, because of an unclosed "extern C" in > p_refcnt.h. Attaching a patch. > > The link errors are with LLVM 2.4. Just tested with 2.5, it builds fine. > Which version do you recommend for mesa? I guess 2.5 or svn? >
Yeah, I use something in between llvm 2.4 and 2.5. As the llvm API isn't stable, issues like this are bound to happen. What specifically are you interested in ? FWIW all this stuff is quite unfinished... Stephane ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev