Python 2.2.1 on Solaris 2.5.1: compilation problem

Michael Hudson mwh at python.net
Fri Apr 12 07:38:03 EDT 2002


Oleg Broytmann <phd at phd.pp.ru> writes:

> On Fri, Apr 12, 2002 at 10:33:40AM +0000, Michael Hudson wrote:
> > > case $MAKEFLAGS in \
> > > *-s*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -O2' ./python -E ./setup.py -q build;; \
> > > *) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -O2' ./python -E ./setup.py build;; \
> > > esac
> > > running build
> > > running build_ext
> > > building 'struct' extension
> > > Segmentation Fault - core dumped
> > 
> > Yikes!  Can you dig into this?  I can't, not having access to a
> > relavent machine... (you did run make clean, didn't you?)
> 
>    I'll try. What is worse, Python 2.2 failed the same way :( It seems
> upgrading gcc from 2.8.0 to 2.95.3 did more harm than good :(((

Oh dear.  I apologise for encouraging you to break you system...

-- 
6. The code definitely is not portable - it will produce incorrect 
   results if run from the surface of Mars.
               -- James Bonfield, http://www.ioccc.org/2000/rince.hint



More information about the Python-list mailing list