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 by a make

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

2006-04-14 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-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 within GLcontext

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

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 have been put

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 GL/internal/*.h includes from the source

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

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 first, make