> > > > Errors with LLVM 2.4: > > ../../lib/libGL.so: undefined reference to > > `llvm::createFunctionProfilerPass()' > > ../../lib/libGL.so: undefined reference to `llvm::createRSProfilingPass()' > > ../../lib/libGL.so: undefined reference to `llvm::createEdgeProfilerPass()' > > ../../lib/libGL.so: undefined reference to > > `llvm::createNullProfilerRSPass()' > > ../../lib/libGL.so: undefined reference to `llvm::createBlockProfilerPass()' > > ../../lib/libGL.so: undefined reference to `llvm::LinkInInterpreter()' > > collect2: ld returned 1 exit status > > make[3]: *** [singlebuffer] Error 1 > > make[3]: Leaving directory `/lap/kammal/xorg/mesa/progs/demos' > > > > These are solved by explicitly asking llvm-config for "interpreter > > instrumentation" libraries. > > Hmm, I'm not seeing this with LLVM 2.4 or 2.5. Any idea where these > references are coming from? E.g., are you building LLVM and/or Gallium > with profiling support enabled?
Oops, sorry to bother you :) I'd just assumed that they're being called from mesa, but that doesn't seem to be the case. Probably I used some non-default options to build LLVM, which I don't remember.. Thanks kammal ------------------------------------------------------------------------------ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev