[Mesa-dev] [Bug 45466] Updated configure.ac check for llvm-config to use 32 version when appropriate

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 1 13:38:57 PST 2012


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

--- Comment #1 from Kevin DeKorte <kdekorte at yahoo.com> 2012-02-01 13:38:57 PST ---
Created attachment 56473
  --> https://bugs.freedesktop.org/attachment.cgi?id=56473
Improved version of the patch that touches mklib as well

I found that mesa would not compile after doing a make distclean, due to my
previous patch. I determined that it was due to mklib erroring on the -m32 I
was adding when compiling xorg-r600. So I modified mklib to output a warning
and skip the the next argument in this case rather than exiting. 

By applying this patch to git head (f09910f399d747e524731953bb11b64c1f4821d0).
I can use the following command to build mesa in 32bit on a 64bit (Fedora)
system. Which covers a large portion of mesa

CFLAGS='-m32' CXXFLAGS='-m32' ./autogen.sh --prefix=/usr --libdir=/usr/lib
--with-dri-drivers="" --with-gallium-drivers=r600,swrast --enable-gallium-egl
--enable-openvg --enable-gles1 --enable-gles2 --enable-texture-float
--enable-vdpau --enable-xvmc --enable-osmesa --enable-xorg
--enable-texture-float --enable-32-bit

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