[issue16047] Tools/freeze no longer works in Python 3

Marc-Andre Lemburg report at bugs.python.org
Tue Sep 25 18:28:00 CEST 2012


New submission from Marc-Andre Lemburg:

The freeze tool used for compiling Python binaries with frozen modules no longer works with Python 3.x.

It looks like it was never updated to the various path and symbols changes introduced with PEP 3149 (ABI tags) in Python 3.2.

Even with lots of symlinks to restore the non-ABI flagged names, freezing fails with a linker error in Python 3.3:

Tools/freeze> python3 freeze.py hello.py
Tools/freeze> make
config.o:(.data+0x38): undefined reference to `PyInit__imp'
collect2: ld returned 1 exit status
make: *** [hello] Error 1

----------
components: Demos and Tools
messages: 171295
nosy: lemburg
priority: normal
severity: normal
status: open
title: Tools/freeze no longer works in Python 3
versions: Python 3.2, Python 3.3, Python 3.4

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


More information about the Python-bugs-list mailing list