Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b5fb2b

Browse files
committed
Add a paragraph about an optimization bug in SGI compilers which affects
complex objects, and explain how to build so that Objects/complexobject.c is compiled without optimization. Closing SourceForge bug #110695 as "Won't Fix".
1 parent ffe58ca commit 0b5fb2b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,13 @@ SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
374374
you set the first line of the Makefile to #!/usr/sbin/smake
375375
smake will be invoked by make (likewise for GNU make).
376376

377+
There is a bug in the SGI compiler's optimization that causes a
378+
bus error in PyComplex_ImagAsDouble(); this has been reported to
379+
be triggered when importing Numeric Python and may be caused at
380+
other times. The work-around is to build Python, delete the
381+
Objects/complexobject.o file, and then recompile without
382+
optimization (use "make OPT=").
383+
377384
OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++
378385
compiler installed, just change into the pc\os2vacpp directory
379386
and type NMAKE. Threading and sockets are supported by default

0 commit comments

Comments
 (0)