Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-15 Thread Tilman Sauerbeck
Daniel Stone [2006-04-14 14:50]: > On Fri, Apr 14, 2006 at 07:08:30AM -0600, Brian Paul wrote: > > Tilman Sauerbeck wrote: > > >Benjamin Herrenschmidt [2006-04-14 16:40]: > > >>Ok, finally... stale {prefix}/include/GL/internal/glcore.h > > >> > > >>No idea who installed this file, it wasn't updated

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-14 Thread Daniel Stone
On Fri, Apr 14, 2006 at 07:08:30AM -0600, Brian Paul wrote: > Tilman Sauerbeck wrote: > >Benjamin Herrenschmidt [2006-04-14 16:40]: > >>Ok, finally... stale {prefix}/include/GL/internal/glcore.h > >> > >>No idea who installed this file, it wasn't updated by a make install of > >>Mesa/DRI, could hav

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-14 Thread Brian Paul
Tilman Sauerbeck wrote: Benjamin Herrenschmidt [2006-04-14 16:40]: On Fri, 2006-04-14 at 15:31 +1000, Benjamin Herrenschmidt wrote: On Fri, 2006-04-14 at 15:15 +1000, Benjamin Herrenschmidt wrote: Not sure at this point, but the problem ends up being ctx->DriverCtx at a different offset wi

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-14 Thread Tilman Sauerbeck
Benjamin Herrenschmidt [2006-04-14 16:40]: > On Fri, 2006-04-14 at 15:31 +1000, Benjamin Herrenschmidt wrote: > > On Fri, 2006-04-14 at 15:15 +1000, Benjamin Herrenschmidt wrote: > > > > Not sure at this point, but the problem ends up being ctx->DriverCtx at > > > > a different offset > > > > with

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-13 Thread Benjamin Herrenschmidt
On Fri, 2006-04-14 at 15:31 +1000, Benjamin Herrenschmidt wrote: > On Fri, 2006-04-14 at 15:15 +1000, Benjamin Herrenschmidt wrote: > > > Not sure at this point, but the problem ends up being ctx->DriverCtx at > > > a different offset > > > within GLcontext between mesa context.c and r300_tex.c.

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-13 Thread Benjamin Herrenschmidt
On Fri, 2006-04-14 at 15:15 +1000, Benjamin Herrenschmidt wrote: > > Not sure at this point, but the problem ends up being ctx->DriverCtx at > > a different offset > > within GLcontext between mesa context.c and r300_tex.c. > > > > Looks like to get the stuff built properly, one has to build fir

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-13 Thread Benjamin Herrenschmidt
> Not sure at this point, but the problem ends up being ctx->DriverCtx at > a different offset > within GLcontext between mesa context.c and r300_tex.c. > > Looks like to get the stuff built properly, one has to build first, make > install, make clean and rebuild, and finally re-make install O

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-13 Thread Benjamin Herrenschmidt
On Thu, 2006-04-13 at 22:04 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Benjamin Herrenschmidt wrote: > > > Ok, I got bitten by the build system again... > > > > Checking out a fresh mesa source tree, doing a make linux-dri-ppc in it, > > what hapens is that

Re: Insane build system (Was: glxinfo segfaults with r300)

2006-04-13 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Herrenschmidt wrote: > Ok, I got bitten by the build system again... > > Checking out a fresh mesa source tree, doing a make linux-dri-ppc in it, > what hapens is that > > - mesa bits are built using includes from the source > tree > - D

Insane build system (Was: glxinfo segfaults with r300)

2006-04-13 Thread Benjamin Herrenschmidt
On Fri, 2006-04-14 at 11:00 +1000, Benjamin Herrenschmidt wrote: > On Fri, 2006-04-14 at 10:38 +1000, Benjamin Herrenschmidt wrote: > > With an r300 DRI checked out a couple of days ago I get a SEGV with the > > backtrace below, I will try updating from CVS and looking at it more > > closely later