[issue6364] freeze tool broken in Python 3.x

Hagen Fürstenau report at bugs.python.org
Mon Jun 29 05:15:49 CEST 2009


New submission from Hagen Fürstenau <hfuerstenau at gmx.net>:

The freeze tool seems to be severely broken in Python 3.x. Applying it
to a "hello world" script produces:

Warning: unknown modules remain: _bisect _collections _ctypes _hashlib
_heapq _multiprocessing _pickle _random _socket _ssl _struct _tkinter
array atexit binascii datetime fcntl itertools math mmap operator
pyexpat readline select termios time

and a subsequent make results in

config.o:(.data+0x8): undefined reference to `init_codecs'
config.o:(.data+0x18): undefined reference to `init_functools'
config.o:(.data+0x28): undefined reference to `init_io'
config.o:(.data+0x38): undefined reference to `init_locale'
config.o:(.data+0x48): undefined reference to `init_sre'
config.o:(.data+0x58): undefined reference to `init_thread'
config.o:(.data+0x68): undefined reference to `init_weakref'
config.o:(.data+0x78): undefined reference to `initerrno'
config.o:(.data+0x88): undefined reference to `initgc'
config.o:(.data+0x98): undefined reference to `initimp'
config.o:(.data+0xa8): undefined reference to `initposix'
config.o:(.data+0xb8): undefined reference to `initpwd'
config.o:(.data+0xc8): undefined reference to `initsignal'
config.o:(.data+0xd8): undefined reference to `initzipimport'

----------
components: Demos and Tools
messages: 89808
nosy: hagen
severity: normal
status: open
title: freeze tool broken in Python 3.x
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6364>
_______________________________________


More information about the Python-bugs-list mailing list