Messages in this thread | | | Date | Thu, 19 Nov 1998 14:52:54 +0100 | From | ralf@uni-kobl ... | Subject | Re: have a look at this proggie, please. |
| |
On Wed, Nov 18, 1998 at 10:13:51AM +0000, Tigran Aivazian wrote:
> /* > * Hi guys, > * > * Compile this without optimization: gcc -g -Wall tst.c -o tst > * and see what happens (SIGFPE). Kernel is 2.1.127 but I think it happens > * on 128 as well (and all others starting from 0.99, or even non-Linux > * systems). What I am asking is - even if it is a CPU bug (all in 386-Xeon range) > * Linux still should be able to work around it (if Solaris can!), should it not?
Try compiling your program on with either gcc 2.7.2.3 or egcs 1.0.2 (versions shipping with RH 5.2). For me cc1 will dump core on both with -O1 or higher on i386, the MIPS crosscompiler will die without any optimization enabled.
Ralf
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |