From: Gareth H. <gar...@ac...> - 2001-06-05 17:37:06
|
Brian Paul wrote: > > Chaskiel M Grundman wrote: > > > > Around line 90 of xc/extras/Mesa/src/X86/common_x86.c > > #if defined(__linux__) && defined(_POSIX_SOURCE) > > [...] > > static void sigfpe_handler( int signal, struct sigcontext sc ) > > { > > message( "SIGFPE, " ); > > > > if ( sc.fpstate->magic != 0xffff ) { > > > > fpstate.magic is not defined in asm/sigcontext.h on my RedHat 6.2 box > > (which has a stock 2.2.19 kernel, not the redhat one). It is defined in > > the linux 2.4.5 asm/sigcontext.h, and I'm assuming the reason this is > > working for most people is that glibc 2.2's bits/sigcontext.h defines > > these things itself rather than deferring to the kernel headers. > > Something ought to be done about this, I think. > > > > For my own purposes, I'm just going to disable SSE support entirely... > > If anyone knows a solution to this I'd like to hear it. It's a rather nasty problem. The solutions you proposed seems to be okay, but I'll dig around and get back to you. There may be other issues that I've forgotten about, which I why I didn't just test for the kernel version when I did that work. -- Gareth |