[Mesa-dev] [Bug 36242] Can't compile gallium llvm and svga drivers with --enable-32-bit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 1 17:58:15 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=36242

Alexandre Demers <alexandre.f.demers at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|building with               |Can't compile gallium llvm
                   |--enable-32-bit on a 64 bit |and svga drivers with
                   |machine fails               |--enable-32-bit

--- Comment #3 from Alexandre Demers <alexandre.f.demers at gmail.com> 2011-05-01 17:58:14 PDT ---
Still there with latest git version. The error message output by the build
process is the following:

make[4]: Entering directory
`/home/dema1701/projects/mesa/mesa/src/gallium/drivers/llvmpipe'
g++  -L/usr/lib/llvm-2.8/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 -lLLVMpic16passes -lLLVMMCDisassembler
-lLLVMXCoreCodeGen -lLLVMXCoreAsmPrinter -lLLVMXCoreInfo -lLLVMSystemZCodeGen
-lLLVMSystemZAsmPrinter -lLLVMSystemZInfo -lLLVMSparcCodeGen
-lLLVMSparcAsmPrinter -lLLVMSparcInfo -lLLVMPowerPCCodeGen
-lLLVMPowerPCAsmPrinter -lLLVMPowerPCInfo -lLLVMPIC16AsmPrinter
-lLLVMPIC16CodeGen -lLLVMPIC16Info -lLLVMMipsAsmPrinter -lLLVMMipsCodeGen
-lLLVMMipsInfo -lLLVMMSP430CodeGen -lLLVMMSP430AsmPrinter -lLLVMMSP430Info
-lLLVMMBlazeAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeInfo -lLLVMLinker
-lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT
-lLLVMExecutionEngine -lLLVMCppBackend -lLLVMCppBackendInfo
-lLLVMCellSPUCodeGen -lLLVMCellSPUAsmPrinter -lLLVMCellSPUInfo -lLLVMCBackend
-lLLVMCBackendInfo -lLLVMBlackfinCodeGen -lLLVMBlackfinAsmPrinter
-lLLVMBlackfinInfo -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser
-lLLVMX86CodeGen -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMAsmParser
-lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMAsmPrinter
-lLLVMARMInfo -lLLVMArchive -lLLVMBitReader -lLLVMAlphaCodeGen
-lLLVMSelectionDAG -lLLVMAlphaAsmPrinter -lLLVMAsmPrinter -lLLVMMCParser
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMAlphaInfo -lLLVMSupport
-lLLVMSystem -L/usr/lib/llvm-2.8/lib -lstdc++  -L/usr/lib/x86_64-linux-gnu
-lXext -lXdamage -lXfixes -lXxf86vm -lX11-xcb -lX11 -lxcb-glx -lxcb  
-L/lib/x86_64-linux-gnu -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/dema1701/projects/mesa/mesa/src/gallium/drivers/llvmpipe'


No other drivers have this problem. I use the following to configure the build:
./autogen.sh --prefix=/usr --enable-shared-dricore --enable-gles1
--enable-gles2 --enable-openvg --enable-gl-osmesa --enable-xcb --enable-glx-tls
--with-dri-drivers= --enable-gallium-egl --enable-gallium-llvm
--enable-gallium-svga --disable-gallium-i915 --disable-gallium-i965
--disable-gallium-r300 --enable-gallium-r600 --disable-gallium-nouveau
--enable-gallium-swrast --enable-texture-float
--with-state-trackers=d3d1x,dri,egl,glx,vega,xorg  --enable-32-bit
--libdir=/usr/lib/i386-linux-gnu --includedir=/usr/include/i386-linux-gnu

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list