Re: Re: [farm-report] Daily Snake Farm report
Mats Wichmann <[email protected]> Wed, 11 Sep 2002 15:01:05 -0600
| Newsgroups | gmane.comp.python.snake-farm.user |
|---|---|
| Message-ID | <[email protected]> |
At 02:27 PM 9/11/2002 -0400, Guido van Rossum wrote:
>> Manually run test_builtin on code checked out this morning:
>[...]
>
>Thanks for confirming that. So far, we've found at least two bugs in
>the code where a long is cast to int, just by reasoning about what
>this test does and how else we could write it! I believe there's no
>way to get this test to do anything reasonable on a 64-bit machine, so
>I'll disable it. (It would have to be re-enabled if/when we change
>object sizes to be a ssize_t equivalent type.)
The test hang/crash is gone now on Itanium.
...
There are still a few compile warnings, and three
"unexpected" test fails. Here's a trimmed log
(build platform is Red Hat 7.2/ia64/gcc 2.96-101; I'll
try to do this on a gcc 3.2 that has "official" Itanium
support at some point soon).
BUILD:
...
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
Objects/obmalloc.c: In function `new_arena':
Objects/obmalloc.c:440: warning: cast from pointer to integer of different size
...
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
Objects/stringobject.c: In function `PyString_Format':
Objects/stringobject.c:3886: warning: int format, different type arg (arg 5)
...
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
Objects/unicodeobject.c: In function `PyUnicodeUCS2_Format':
Objects/unicodeobject.c:6468: warning: int format, different type arg (arg 5)
...
ar cr libpython2.3.a
Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o
Modules/errnomodule.o Modules/_sre.o Modules/symtablemodule.o
Modules/xxsubtype.o
ranlib libpython2.3.a
gcc -Xlinker -export-dynamic -o python \
Modules/python.o \
libpython2.3.a -lrt -ldl -lpthread -lutil -lm
libpython2.3.a(posixmodule.o): In function `posix_tmpnam':
/home/mats/python/python/dist/src/./Modules/posixmodule.c:5276: the use of
`tmpnam_r' is dangerous, better use `mkstemp'
libpython2.3.a(posixmodule.o): In function `posix_tempnam':
/home/mats/python/python/dist/src/./Modules/posixmodule.c:5226: the use of
`tempnam' is dangerous, better use `mkstemp'
TEST:
./python -E -c 'import sys ; from distutils.util import get_platform ;
print get_platform()+"-"+sys.version[0:3]' >platform
find ./Lib -name '*.py[co]' -print | xargs rm -f
./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_dl
test test_dl crashed -- exceptions.SystemError: module dl requires
sizeof(int) == sizeof(long) == sizeof(char*)
...
test_slice
test test_slice failed -- (9, 4294967295, 4294967295) == (9, -1, -1)
test_socket
test test_socket failed -- Traceback (most recent call last):
File "/home/mats/python/python/dist/src/Lib/test/test_socket.py", line
254, in testNtoH
self.assertEqual(i, func(func(i)))
File "/home/mats/python/python/dist/src/Lib/unittest.py", line 292, in
failUnlessEqual
raise self.failureException, \
AssertionError: -65536 != 4294901760
....
196 tests OK.
3 tests failed:
test_dl test_slice test_socket
17 tests skipped:
test_al test_audioop test_cd test_cl test_curses test_email_codecs
test_gl test_imageop test_imgfile test_linuxaudiodev test_nis
test_rgbimg test_socket_ssl test_socketserver test_sunaudiodev
test_winreg test_winsound
4 skips unexpected on linux2:
test_audioop test_rgbimg test_linuxaudiodev test_imageop