Package: python2.7-minimal
Version: 2.7.1-4
Severity: important
/usr/bin/python2.7 doesn't provide PyOS_mystr*icmp symbols as it should:
$ nm -D /usr/bin/python2.6 | grep -E 'PyOS_mystrn?icmp' | wc -l
2
$ nm -D /usr/lib/libpython2.7.so | grep -E 'PyOS_mystrn?icmp' | wc -l
2
$ nm -D /usr/bin/python2.7 | grep -E 'PyOS_mystrn?icmp' | wc -l
0
I think this is because:
* None of the functions defined in pystrcmp.c are actually used in the
Python codebase.
* The --whole-archive option is not passed to the linker, so pystrcmp.o
is discarded as unused.
That would explain why only python2.7 is affected, but not 2.6 or 3.X:
* In 2.6, PyOS_strnicmp is used in Objects/floatobject.c;
* In 3.X, PyOS_strnicmp is used in Python/import.c.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org