lkml.org 
[lkml]   [1998]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.985 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site