[Mesa-dev] [Bug 61318] New: Can't compile GLU 32bit on 64bit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 22 15:42:36 PST 2013


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

          Priority: medium
            Bug ID: 61318
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Can't compile GLU 32bit on 64bit
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: alexandre.f.demers at gmail.com
          Hardware: All
            Status: NEW
           Version: git
         Component: GLU
           Product: Mesa

When crosscompiling, building GLU 32 bit on 64 bit system fails:
  CXXLD    libGLU.la
/usr/lib/x86_64-linux-gnu/libGL.so: could not read symbols: File in wrong
format
collect2: error: ld returned 1 exit status
make: *** [libGLU.la] Error 1

I use the following to build:
if [ "$BUILD32" = "true" ]; then
    echo "Building 32 bit"
    export CFLAGS='-m32'
    export CXXFLAGS='-m32'
    export LLVM_CONFIG='/usr/bin/llvm-config32'
    ./autogen.sh --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu
--prefix=/usr --libdir=/usr/lib/i386-linux-gnu
--includedir=/usr/include/i386-linux-gnu
fi

    make -j $NUM_THREADS

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130222/36c6871c/attachment.html>


More information about the mesa-dev mailing list