I built with -O3 -march=athlon, thought I'v been doing that for some time now.
ddd reports the segfalut during the pushl of the fd, just befor calling 
drmCommandWriteRead.

Dump of assembler code for function r200InitIoctlFuncs:
    0x4054eba0 <r200InitIoctlFuncs>:        push   %ebp
    0x4054eba1 <r200InitIoctlFuncs+1>:      mov    %esp,%ebp
    0x4054eba3 <r200InitIoctlFuncs+3>:      sub    $0x8,%esp
    0x4054eba6 <r200InitIoctlFuncs+6>:      mov    0x8(%ebp),%eax
    0x4054eba9 <r200InitIoctlFuncs+9>:      mov    0x2ac(%eax),%ecx
    0x4054ebaf <r200InitIoctlFuncs+15>:     movl   $0x4054dc20,0xe0(%eax)
    0x4054ebb9 <r200InitIoctlFuncs+25>:     movl   $0x4054ea80,0xf0(%eax)
    0x4054ebc3 <r200InitIoctlFuncs+35>:     lea    0x3444(%ecx),%edx
    0x4054ebc9 <r200InitIoctlFuncs+41>:     movl   $0x4054e430,0xf4(%eax)
    0x4054ebd3 <r200InitIoctlFuncs+51>:     push   $0x8
    0x4054ebd5 <r200InitIoctlFuncs+53>:     mov    %edx,0xfffffffc(%ebp)
    0x4054ebd8 <r200InitIoctlFuncs+56>:     lea    0xfffffff8(%ebp),%edx
    0x4054ebdb <r200InitIoctlFuncs+59>:     push   %edx
    0x4054ebdc <r200InitIoctlFuncs+60>:     push   $0x11
    0x4054ebde <r200InitIoctlFuncs+62>:     movl   $0x1,0xfffffff8(%ebp)
>   0x4054ebe5 <r200InitIoctlFuncs+69>:     pushl  0x343c(%ecx)
    0x4054ebeb <r200InitIoctlFuncs+75>:     call   0x4040ca20 <drmCommandWriteRead>


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to