[Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

Kenneth Graunke kenneth at whitecape.org
Wed Jun 13 00:50:11 PDT 2012


On 06/12/2012 03:42 PM, Chris Rankin wrote:
> Hi,
> 
> I have a Lenovo T60p laptop running 32 bit Fedora 17, and this patch
> fixes makedepend's behaviour when generating the src/mesa/depends file.
> Prior to this patch, makedepend had hung while still consuming 100% of
> the CPU. Strangely, none of the other PCs that I compile Mesa on are
> affected by this problem, despite all of them running Fedora 17 too!

Wow :/ makedepend is even more broken than I thought.

This patch breaks doxygen, so I'd rather not take it if possible...

> For reference, here is the command line I configure Mesa with:
> 
> CFLAGS='-O2 -g -gdwarf-2' ./autogen.sh --prefix=$HOME/local-mesa
> --with-gallium-drivers=swrast,r300,r600 --with-dri-drivers=
> --enable-texture-float --enable-gallium-g3dvl --enable-32-bit

You'll want to do:
CFLAGS='-m32 -O2 -g -gdwarf-2' CXXFLAGS='-m32 -O2 -g -gdwarf-2'
./autogen.sh .... --enable-32-bit

(you need -m32 and you need to set CXXFLAGS).  Then it should work.

> Cheers,
> Chris
> 
> P.S. Has anyone tried compiling 32 bit Mesa on a 64 bit machine recently?


More information about the mesa-dev mailing list