[Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory
Chris Rankin
rankincj at yahoo.com
Wed Jun 13 01:05:49 PDT 2012
Hi,
Ah, so "\file" is for doxygen? I did wonder whether it could be something other than a typo :-).
My dependency problem happens only for the file main/dlist.c, and only on my T60p. I have *absolutely no idea* why makedepend goes off the deep-end only on this machine and not on any of my others. Perhaps someone with makedepend wisdom could shed some light, please?
As for my other 64/32 bit problem:
> You'll want to do:
> CFLAGS='-m32 -O2 -g -gdwarf-2' CXXFLAGS='-m32 -O2 -g -gdwarf-2
> ./autogen.sh .... --enable-32-bit
Shouldn't the "-m32" flag be implicit in the --enable-32-bit option? I'm only adding an explicit CFLAGS to ensure Mesa is built with debug symbols ("just in case").
Thanks,
Chris
________________________________
From: Kenneth Graunke <kenneth at whitecape.org>
To: Chris Rankin <rankincj at yahoo.com>
Cc: mesa-dev at lists.freedesktop.org
Sent: Wednesday, 13 June 2012, 8:50
Subject: Re: [Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120613/888846bf/attachment.htm>
More information about the mesa-dev
mailing list