-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sergio Monteiro Basto wrote: > On Mon, 2005-11-14 at 12:38 -0800, Ian Romanick wrote: >>Sergio Monteiro Basto wrote: >>>On Mon, 2005-11-14 at 07:51 -0800, Ian Romanick wrote: >>>>Sergio Monteiro Basto wrote: >>>> >>>>>Program received signal SIGFPE, Arithmetic exception. >>>>>[Switching to Thread -1208801600 (LWP 12723)] >>>>>0x00ec8a80 in _mesa_test_os_sse_exception_support () from >>>>>/usr/X11R6/lib/modules/dri/savage_dri.so >>>> >>>>What platform are you running on? Properly built drivers on Linux or >>>>BSD should *NEVER* encounter this code. That code has been removed from >>>>the Linux builds for almost a year. I suspect that you're either >>>>picking up a very old savage_dri.so or something is not right with your >>>>build. >>>> >>>>The code is #ifdef'ed out at line 186 of src/mesa/x86/x86_common.c: >>>> >>>>#if defined(__linux__) && !defined(IN_DRI_DRIVER) >>>> >>>>Clearly, IN_DRI_DRIVER should be defined when building the Savage DRI >>>>driver! :) > > Well I downgrade to xorg-6.9RC1 and the problem disappears, so is a very > recent regression. > About IN_DRI_DRIVE, yes it is defined at all the places.
Impossible. Edit src/mesa/x86/x86_common.c and put a '#warning Got here' before and after the '#if defined(__linux__) && !defined(IN_DRI_DRIVER)' at line 186. Rebuild and grep the build output for '#warning'. > With RC1 I still get this "Arithmetic exception" > but 3D apps works without problems. > If I recall correctly this "Arithmetic exception" is not new at all. Re-read my original reply. It was *removed* from the Linux builds about a year ago. I still stand by the problem being somewhere in your build. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDemv4X1gOwKyEAw8RAhpGAJ9ws/DQRbcTVFLlrefofNXLvGYwxACfZD1s NndoQpMqLi3a9ViVnq/SQaQ= =umA9 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel