> Yes, all OpenGL programs run. :D
> I'm using a Pentium 4, indeed I have use flag for sse set but I though
> sse was supported in Pentium 4. Well, I'll try to unset the flag and
> recompile X to see if gdb runs ok this time!
> 
> Is there any way to see if my processor has sse support?

Yes, the Pentium 4 should have SSE. You can verify this by looking at the flags
section when you do cat /proc/cpuinfo

> > > (gdb) run
> > > Starting program: /home/pmatos/ist/mvt/labs/openglbk-edit/wrap
> > > [Thread debugging using libthread_db enabled]
> > > [New Thread 16384 (LWP 5583)]
> > >  
> > > Program received signal SIGFPE, Arithmetic exception.
> > > [Switching to Thread 16384 (LWP 5583)]
> > > 0x406567ff in _mesa_test_os_sse_exception_support ()
> > >    from /usr/X11R6/lib/modules/dri/radeon_dri.so
> > > (gdb)
> > 
> > Do any OpenGL programs run? This looks like you've added SSE support on an
> > architecture that doesn't support it. Try recompiling X11 with USE=-sse and
> > see if that fixes it.

I don't think it is SSE related at all.

Try running the following program in gdb:

int main()
{
   int abc = 2, bcd = 0;
   abc /= bcd;

   return 0;
}
it should give you the very same error.

I am guessing that the _mesa_test_os_sse_exception_support () function is
testing arithmetic/floating point exceptions, but when you run under gdb, gdb
will intercept for example the SIGFPE signal (Floating Point Exception) instead.

Leendert

--
[EMAIL PROTECTED] mailing list

Reply via email to