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

Re: glxinfo segfaults with r300

2006-04-13 Thread Benjamin Herrenschmidt
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 as I find some time... Same with current CVS, will investigate later unl

glxinfo segfaults with r300

2006-04-13 Thread Benjamin Herrenschmidt
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 as I find some time... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 805425952 (LWP 6928)] r300NewTextureObject (ct