Re: [E-devel] evas mmx issues

2004-03-22 Thread Valdis . Kletnieks
On Sun, 21 Mar 2004 15:55:05 CST, Daniel Hansen [EMAIL PROTECTED]  said:
 For a while I have been having problems when compiling mmx support into
 evas.  If I compile without any cpu optimizations, I have no problems, but
 once I compile in mmx, (since I have a p2) any efl app run at the same

 Also, my p2 doesnt support mmx2, only mmx, and so I think the problem
 could be related to that.  Then again, I'm not a programmer, so I really
 don't know.  Anyway, I hope that helps and I hope the bug is fixed :)

I don't see any bug here.  All I see is somebody who compiled something,
asked it to generate instruction codes that aren't supported on their CPU,
and then get surprised when the resulting program rolls over and  dies:

 (gdb) backtrace
 #0  evas_common_cpu_mmx2_test () at evas_cpu.c:39

Doctor, it hurts when I do this Don't do that then...


pgp0.pgp
Description: PGP signature


Re: [E-devel] evas mmx issues

2004-03-22 Thread Nathan Ingersoll
Actually, this is probably a bug. What signal did this die from? A
illegal instruction or a segv? (Sorry, deleted the original message w/o
reading it closely enough).

On Mon, Mar 22, 2004 at 02:23:24PM -0500, [EMAIL PROTECTED] wrote:
 On Sun, 21 Mar 2004 15:55:05 CST, Daniel Hansen [EMAIL PROTECTED]  said:
  For a while I have been having problems when compiling mmx support into
  evas.  If I compile without any cpu optimizations, I have no problems, but
  once I compile in mmx, (since I have a p2) any efl app run at the same
 
  Also, my p2 doesnt support mmx2, only mmx, and so I think the problem
  could be related to that.  Then again, I'm not a programmer, so I really
  don't know.  Anyway, I hope that helps and I hope the bug is fixed :)
 
 I don't see any bug here.  All I see is somebody who compiled something,
 asked it to generate instruction codes that aren't supported on their CPU,
 and then get surprised when the resulting program rolls over and  dies:
 
  (gdb) backtrace
  #0  evas_common_cpu_mmx2_test () at evas_cpu.c:39
 
 Doctor, it hurts when I do this Don't do that then...



-- 

| Nathan Ingersoll  \\  Computer Systems  Network Coordinator |
| [EMAIL PROTECTED]   \\  http://www.ruralcenter.org|
| http://ningerso.atmos.org/  \\  Rural Health Resource Center |




signature.asc
Description: Digital signature


Re: [E-devel] evas mmx issues

2004-03-22 Thread Daniel Hansen
 On Sun, 21 Mar 2004 15:55:05 CST, Daniel Hansen
 [EMAIL PROTECTED]  said:
 For a while I have been having problems when compiling mmx support into
 evas.  If I compile without any cpu optimizations, I have no problems,
 but
 once I compile in mmx, (since I have a p2) any efl app run at the same

 Also, my p2 doesnt support mmx2, only mmx, and so I think the problem
 could be related to that.  Then again, I'm not a programmer, so I really
 don't know.  Anyway, I hope that helps and I hope the bug is fixed :)

 I don't see any bug here.  All I see is somebody who compiled something,
 asked it to generate instruction codes that aren't supported on their CPU,
 and then get surprised when the resulting program rolls over and  dies:

 (gdb) backtrace
 #0  evas_common_cpu_mmx2_test () at evas_cpu.c:39

 Doctor, it hurts when I do this Don't do that then...


Well, my processor does support mmx, so I don't see any reason why it
should do this.  Unless there's some extra configure option to only enable
mmx and not mmx2 that I'm missing.  Also, the crash only happens when im
running entrance and it would seem that by doing so, a bug in entrance or
evas is making evas think that i have an mmx2 capable processor.  By the
way the crash results from an illegal instruction.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] evas mmx issues

2004-03-22 Thread The Rasterman
On Sun, 21 Mar 2004 15:55:05 -0600 (CST) "Daniel Hansen"
(B[EMAIL PROTECTED] babbled:
(B
(B For a while I have been having problems when compiling mmx support into
(B evas.  If I compile without any cpu optimizations, I have no problems, but
(B once I compile in mmx, (since I have a p2) any efl app run at the same
(B time as entrance crashes with an illegal instruction.  If I login in with
(B xdm, these problems go away.  So it would appear the issue is between evas
(B and entrance.  Here is my output from gdb of evas_software_x11_test while
(B entrance is running:
(B 
(B [Switching to Thread 16384 (LWP 12599)]
(B evas_common_cpu_mmx2_test () at evas_cpu.c:39
(B 39 mmx_r2m(movntq, mm0, data);
(B 
(B and
(B 
(B (gdb) backtrace
(B #0  evas_common_cpu_mmx2_test () at evas_cpu.c:39
(B #1  0x1000 in ?? ()
(B #2  0x404e8c1c in __libc_start_main () from /lib/libc.so.6
(B
(Bok... first.. this sint a crash - evas checks cpu features by trying to execute
(Ban instruction and "catching" the SIGILL (illegal instruction) signal - if it
(Bgets a SIGILL it knows that instruction is not supported. all that's happening
(Bis gdb is getting the SIGILL instead... just type:
(B
(Bcont
(B
(Band let it continue. it may do other SIGILL's depending on your cpu, but this is
(Bnot a bug - it is, in-fact a feature and is not the problem (if any). just cont
(Buntil your bt isn't inside the evas_common_cpu_*_test() routines.
(B
(Balso i fail to see how entrance can cause another application to segv. if this
(Bis happening i definitely see a system issue (kernel?) on the horizon - linxu is
(Ba memory protected system - one app cannto cause another to segv (directly)
(Bunless theres an implicit protocol/resource shared that the app is handling
(Bbadly in certain cases - which is not the case with evas (unless its x that is
(Bscrewing up?)... anyway - try it again but "cont" out of the cpu checks.
(B
(B Also, my p2 doesnt support mmx2, only mmx, and so I think the problem
(B could be related to that.  Then again, I'm not a programmer, so I really
(B don't know.  Anyway, I hope that helps and I hope the bug is fixed :)
(B 
(B Daniel Hansen
(B 
(B 
(B ---
(B This SF.Net email is sponsored by: IBM Linux Tutorials
(B Free Linux tutorial presented by Daniel Robbins, President and CEO of
(B GenToo technologies. Learn everything from fundamentals to system
(B administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
(B ___
(B enlightenment-devel mailing list
(B [EMAIL PROTECTED]
(B https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$B7'<*(B - $Bhttp://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
(B___
(Benlightenment-devel mailing list
(B[EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

[E-devel] evas mmx issues

2004-03-21 Thread Daniel Hansen
For a while I have been having problems when compiling mmx support into
evas.  If I compile without any cpu optimizations, I have no problems, but
once I compile in mmx, (since I have a p2) any efl app run at the same
time as entrance crashes with an illegal instruction.  If I login in with
xdm, these problems go away.  So it would appear the issue is between evas
and entrance.  Here is my output from gdb of evas_software_x11_test while
entrance is running:

[Switching to Thread 16384 (LWP 12599)]
evas_common_cpu_mmx2_test () at evas_cpu.c:39
39 mmx_r2m(movntq, mm0, data);

and

(gdb) backtrace
#0  evas_common_cpu_mmx2_test () at evas_cpu.c:39
#1  0x1000 in ?? ()
#2  0x404e8c1c in __libc_start_main () from /lib/libc.so.6

Also, my p2 doesnt support mmx2, only mmx, and so I think the problem
could be related to that.  Then again, I'm not a programmer, so I really
don't know.  Anyway, I hope that helps and I hope the bug is fixed :)

Daniel Hansen


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel