[Mesa-dev] [Bug 30353] New: building multilib mesa fails or bogus

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 23 12:18:36 PDT 2010


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

           Summary: building multilib mesa fails or bogus
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: virtuousfox at gmail.com


right now if i try to build mesa with '--enable-32-bit --enable-64-bit' it
fails with:
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers 
-march=k8-sse3 -O2 -pipe -g -ffast-math -Wall -Wmissing-prototypes -std=c99
-ffast-math -fvisibility=hidden -fno-strict-aliasing -m32 -m64 -g  -fPIC -m32
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE
-DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV
-DHAVE_XEXTPROTO_71 -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS
-DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fPIC lp_test_main.c -o
lp_test_main.o
g++ -Wl,-z,lazy -L/usr/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 -lLLVMBitWriter -lLLVMX86CodeGen -lLLVMX86Info
-lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMInterpreter -lLLVMJIT
-lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine
-lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore
-lLLVMSupport -lLLVMSystem -lstdc++  -lXext -lXdamage -lXfixes -lXxf86vm
-lX11-xcb -lX11 -lxcb-glx -lxcb   -ldrm   -lm -lpthread -ldl -Wl,--end-group
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible ../../auxiliary//libgallium.a when searching for
-lgallium
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lgallium
collect2: ld returned 1 exit status
gmake[4]: *** [lp_test_format] Error 1
gmake[4]: Leaving directory
`/var/tmp/portage/media-libs/mesa-9999-r3/work/Mesa-9999/src/gallium/drivers/llvmpipe'

but even in past, when building was not broken, `make install` would not
actually install 32bit binaries.
besides, even if it will build & install those, will it be able to
automatically put them into <supplied libdir>/../lib32 ?

anyway, i remember, in even more distant past it worked (build & install
correctly) as expected. should be now too as building twice (1: 32/no64,
2:no32/64) suck.

-- 
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