Re: Problems with python 1.0.3 on Solaris - but in general (fwd)

Brian de Alwis (bsdealwi@math.uwaterloo.ca)
Mon, 25 Jul 1994 10:47:34 -0400

> > I had to compile python with DEC's cc on OSF/1, to get python working
> > well. I didn't try 2.6.0 - 2.5.8 was the latest at that time.
>
> Does this mean that with DEC's C compiler on the Alpha there are no
> problems? In that case I'll have to add an entry to the FAQ about
> using gcc for the Alpha... Else, I hope he comes up with more
> information, I don't have access to an Alpha and previous reports from
> someone who has indicated that all was well -- but I don't know what
> compiler they used.

It wouldn't hurt putting it into the FAQ. Python compiled with DEC cc
and -O passes `make test'. Python compiled with gcc (2.5.8 and 2.6.0)
and -g passes `make test'. Compiling with 2.6.0 and -O causes the trace
below on the second run of the make test. (it doesn't dump core)

-------------
rm -f ./Lib/test/*.pyc
PYTHONPATH=./Lib:./Lib/test ./python -c 'import autotest'
All tests OK.
PYTHONPATH=./Lib:./Lib/test ./python -c 'import autotest'
Traceback (innermost last):
File "<string>", line 0
File "./Lib/test/autotest.py", line 67
main()
File "./Lib/test/autotest.py", line 62
import testall
File "./Lib/test/testall.py", line 22
import test_builtin
File "./Lib/test/test_builtin.py", line 9
import test_b1
-------------

Compiling with 2.5.8 and -O does dump core.

-- 
Brian de Alwis - University of Waterloo: bsdealwis@math.uwaterloo.ca
`How extraordinarily lucky Minta is! She is marrying a man who has a gold
 watch in a wash-leather bag!' - _To_the_Lighthouse_, Virginia Woolf.