|
From: | Gabucino |
Subject: | [FreeBSD/alpha] bad #define in NSObject.m |
Date: | Fri, 5 Jan 2007 19:38:04 +0100 |
line 937: #ifdef __FreeBSD__ // Manipulate the FPU to add the exception mask. (Fixes SIGFPE // problems on *BSD) { volatile short cw; __asm__ volatile ("fstcw (%0)" : : "g" (&cw));cw |= 1; /* Mask 'invalid' exception */ __asm__ volatile ("fldcw (%0)" : : "g" (&cw));
} #endifThis obviously fails on FreeBSD with any arch that is not x86. (invalid opcode)
-- Gábor Bérczi
[Prev in Thread] | Current Thread | [Next in Thread] |