[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


           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
-D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fPIC lp_test_main.c -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
skipping incompatible ../../auxiliary//libgallium.a when searching for
cannot find -lgallium
collect2: ld returned 1 exit status
gmake[4]: *** [lp_test_format] Error 1
gmake[4]: Leaving directory

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