root <mdub(a)julian.uwo.ca> writes:
uname -a: Linux h219-29.reznet.uwo.ca 2.1.98 #44 Sat Apr 26 21:48:31
EST 1998 i586 unknown
./configure '-cflags=-mpentium -march=pentium -O6 -g' '--dynamic'
'--with-xfs' '--with-xpm' '--with-xim=xlib' '--with-mule'
'--with-canna' '--error-checking=none' '--debug=no'
'--extra-verbose' '--prefix=/usr/local'
Which compiler are you using? If you are using Gcc 2.7* you will need
to add -fno-strength-reduce (if your compiler is really old), or
-fno-caller-saves if your compiler is Gcc-2.7.2 or later. Both these
problems are known to be fixed in GCC 2.8/EGCS.
If you are using GCC 2.8 or EGCS, for safety you should probably add
the flags: `-fno-risc -fno-peep-spills'. Both of those optimizations
have been known to cause problems at times. Depending on the version,
you should also specify `-fno-exceptions'.
I'm using Pentium GCC (based on egcs-1.01) with cflags:
-mpentium -march=pentium -fno-peep-spills -O6 -fno-risc -fno-exceptions
and it works fine for me.