On Tue, 2003-11-25 at 02:10, Leendert van den Berg wrote:
> > 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
> 

flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm

So, it seems I have sse after all. :) But still, gdb doesn't run. :( Has
anyone tried successfuly to debug the program I attached?

Best regards,

Paulo

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

Paulo J. Matos : pocm [_at_] mega . ist . utl . pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
 - > http://mega.ist.utl.pt/~pocm
---
        -> God had a deadline...
                So, he wrote it all in Lisp!


--
[EMAIL PROTECTED] mailing list

Reply via email to