llvmpipe uses llvm::JITEventListener::createOProfileJITEventListener if LLVM was compiled with OProfile support, so it needs to link with libLLVMOProfileJIT. diff -x config.log -x config.status -ru tmp/Mesa-9.0.3/configure.ac work/Mesa-9.0.3/configure.ac --- tmp/Mesa-9.0.3/configure.ac 2013-02-21 15:43:32.000000000 +0000 +++ work/Mesa-9.0.3/configure.ac 2013-02-23 13:40:58.084000001 +0000 @@ -1689,6 +1689,9 @@ if $LLVM_CONFIG --components | grep -q '\'; then LLVM_COMPONENTS="${LLVM_COMPONENTS} mcjit" fi + if $LLVM_CONFIG --components | grep -q '\'; then + LLVM_COMPONENTS="${LLVM_COMPONENTS} oprofilejit" + fi if test "x$enable_opencl" = xyes; then LLVM_COMPONENTS="${LLVM_COMPONENTS} ipo linker instrumentation" fi