[Mesa-dev] [Bug 29585] New: glsl2: --enable-32-bit doesn't check for talloc properly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 15 11:03:51 PDT 2010


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

           Summary: glsl2: --enable-32-bit doesn't check for talloc
                    properly
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: edwintorok at gmail.com


This is the configure line I use with master for 32-bit binaries, and it works:
./configure --prefix=/opt/xorg --libdir=/opt/xorg/lib32
--with-dri-drivers=r600,swrast --disable-gallium
--with-dri-driverdir=/opt/xorg/lib32/dri --enable-glx-tls
PKG_CONFIG_PATH=/opt/xorg/lib32/pkgconfig/ --enable-32-bit
CFLAGS="-march=native -O2 -g"

Same line with glsl2 branch fails:
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libtalloc.so when searching for
-ltalloc

I obviously don't have talloc installed as 32-bit, but Mesa's configure thinks
I do (I have the 64-bit talloc installed):

configure:5614: checking for TALLOC
configure:5621: $PKG_CONFIG --exists --print-errors "talloc"
configure:5624: $? = 0
configure:5637: $PKG_CONFIG --exists --print-errors "talloc"
configure:5640: $? = 0
configure:5697: result: yes

I think it should try to link with talloc to make sure the right talloc is
there.

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