Re: Further adventures in the land of 64-bit linux

Guido van Rossum <[email protected]> Tue, 17 Sep 2002 13:05:10 -0400
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
> Interestingly, I'm not seeing this recent spate
> of problems on my Itanium Linux build.
> 
> It's down to one build warning, which I don't
> care about (it's the tempnam stuff), and one
> fail and one warning during the regression tests:
> 
> ./python -E -tt ./Lib/test/regrtest.py -l
> <string>:0: FutureWarning: hex/oct constants > sys.maxint will return 
> positive values in Python 2.4 and up
> <string>:0: FutureWarning: hex/oct constants > sys.maxint will return 
> positive values in Python 2.4 and up
> <string>:0: FutureWarning: hex/oct constants > sys.maxint will return 
> positive values in Python 2.4 and up
> test_opcodes
> 	*** These are due to three large constants in the test module
> 	*** I don't see where they're a problem, although in 2.4
> 	*** this test will no longer make sense since they compare to -1

I'll look at these (eventually).

> test test_dl crashed -- exceptions.SystemError: module dl requires 
> sizeof(int) == sizeof(long) == sizeof(char*)

Try removing dlmodule.so from your build subdir.  The dl module should
no longer being built on proper 64-bit platforms (where long is
64-bit), but I think if it's there left behind by an earlier build
(before I fixed this in setup.py) it will still try to run the test.

--Guido van Rossum (home page: http://www.python.org/~guido/)