Add more general warning against the SGI optimizer.

This commit is contained in:
Guido van Rossum 2001-04-14 13:09:53 +00:00
parent b891891d00
commit 7be8ca0d42
1 changed files with 5 additions and 7 deletions

12
README
View File

@ -359,16 +359,14 @@ SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
does not check whether a command actually changed the file it
is supposed to build. This means that whenever you say "make"
it will redo the link step. The remedy is to use SGI's much
smarter "smake " utility (/usr/sbin/smake), or GNU make. If
smarter "smake" utility (/usr/sbin/smake), or GNU make. If
you set the first line of the Makefile to #!/usr/sbin/smake
smake will be invoked by make (likewise for GNU make).
There is a bug in the SGI compiler's optimization that causes a
bus error in PyComplex_ImagAsDouble(); this has been reported to
be triggered when importing Numeric Python and may be caused at
other times. The work-around is to build Python, delete the
Objects/complexobject.o file, and then recompile without
optimization (use "make OPT=").
WARNING: There are bugs in the optimizer of some versions of
SGI's compilers that can cause bus errors or other strange
behavior, especially on numerical operations. To avoid this,
try building with "make OPT=".
OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++
compiler installed, just change into the pc\os2vacpp directory