[Mesa-users] 32 bit llvmpipe compile issues

Brian Paterni bpaterni at gmail.com
Thu May 12 10:11:43 PDT 2011


Ever since llvm was enabled by default on x86/x86_64 I've been having problems
compiling 32bit mesa on 64bit machine and I'm not sure what the cause might be:

make[4]: Entering directory `/home/bpaterni/git/radeon/mesa/src/gallium/drivers/llvmpipe'
g++  -L/usr/lib/llvm-2.9/lib  -lpthread -lffi -ldl -lm  lp_test_format.o lp_test_main.o -o lp_test_format -Wl,--start-group  -L../../auxiliary/ -lgallium libllvmpipe.a -lLLVMObject -lLLVMMCJIT -lLLVMMCDisassembler -lLLVMXCoreCodeGen -lLLVMXCoreInfo -lLLVMSystemZCodeGen -lLLVMSystemZInfo -lLLVMSparcCodeGen -lLLVMSparcInfo -lLLVMPowerPCCodeGen -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter -lLLVMPTXCodeGen -lLLVMPTXInfo -lLLVMMipsCodeGen -lLLVMMipsInfo -lLLVMMSP430CodeGen -lLLVMMSP430Info -lLLVMMSP430AsmPrinter -lLLVMMBlazeDisassembler -lLLVMMBlazeAsmParser -lLLVMMBlazeCodeGen -lLLVMMBlazeAsmPrinter -lLLVMMBlazeInfo -lLLVMLinker -lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT -lLLVMExecutionEngine -lLLVMCppBackend -lLLVMCppBackendInfo -lLLVMCellSPUCodeGen -lLLVMCellSPUInfo -lLLVMCBackend -lLLVMCBackendInfo -lLLVMBlackfinCodeGen -lLLVMBlackfinInfo -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMX86Info -lLLVMAsmParser -lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMAsmPrinter -lLLVMARMInfo -lLLVMArchive -lLLVMBitReader -lLLVMAlphaCodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMAlphaInfo -lLLVMMC -lLLVMSupport -L/usr/lib/llvm-2.9/lib -lstdc++  -lX11 -lXext -lXdamage -lXfixes -lXxf86vm   -L/usr/local/lib -ldrm   -lm -lpthread -ldl -Wl,--end-group
/usr/bin/ld: skipping incompatible ../../auxiliary//libgallium.a when searching for -lgallium
/usr/bin/ld: cannot find -lgallium
collect2: ld returned 1 exit status
make[4]: *** [lp_test_format] Error 1
make[4]: Leaving directory `/home/bpaterni/git/radeon/mesa/src/gallium/drivers/llvmpipe'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/bpaterni/git/radeon/mesa/src/gallium/drivers'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/bpaterni/git/radeon/mesa/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/bpaterni/git/radeon/mesa/src'
make: *** [default] Error 1


this is using the following configure options:

-with-dri-drivers= --enable-debug --enable-gallium-r600 \                                                                                                            
        --disable-gallium-i915 --disable-gallium-i965 --disable-gallium-svga \                                                                                                     
        --enable-32-bit --libdir=/usr/lib32 \                                                                                                                                      
        --prefix=/home/bpaterni/usr/dummy_include --enable-texture-float \                                                                                                         
        --disable-gallium-r300


More information about the mesa-users mailing list