On Tue, 2005-11-15 at 15:15 -0800, Ian Romanick wrote: > 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'.
Hi, Well I won make[4]: Entering directory `/home/src/redhat/BUILD/xorg-x11-6.8.99.901/xc/lib/GL' making all in lib/GL/mesa... make[5]: Entering directory `/home/src/redhat/BUILD/xorg-x11-6.8.99.901/xc/lib/GL/mesa' making all in lib/GL/mesa/x86... make[6]: Entering directory `/home/src/redhat/BUILD/xorg-x11-6.8.99.901/xc/lib/GL/mesa/x86' rm -f common_x86.o gcc -m32 -c -g -ansi -Wall -Wpointee-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../../extras/Mesa/src/mesa -I../../../../extras/Mesa/include -I../../../../lib/GL/include -I../../../../extras/Mesa/src/mesa/main -I../../../../extras/Mesa/src/mesa/x86 -I../../../../extras/Mesa/src/mesa/glapi -I../../../.. -I../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM common_x86.c common_x86.c:188:2: warning: ewarning Got here but what savage DRI got to do with it ? I produce this log with a simple "make world" type by hand. Well with my host.def ! btw yesterday I found the bug that I am talking about https://bugs.freedesktop.org/show_bug.cgi?id=1709 this is filed as notabug. thanks, -- Sérgio M.B.
smime.p7s
Description: S/MIME cryptographic signature