Package: python2.5-dbg
Version: 2.5.5-4
Severity: normal
I can be uterly wrong here... also couldn't figure out how/why that is
the case (besides may be missing -D somewhere), but while trying to help
out with resolution for #577609), I've ran into the issue that I am unable to
build a source against python2.5_d if I disable all optimization (i.e. use
-O0) (following lines differ only in -O0 vs -O1):
$> cc -I. -I.. -fPIC -g -Wall -O0 -pthread ./configure-9068-28990.c -o
./configure-10394-28990.o -Xlinker --no-undefined -lm -pthread -llapack -lcblas
-llapack_atlas -lglpk -lm -llzo2 -lz -lbz2 -llzma -fno-strict-aliasing -fPIC
-I/usr/include/python2.5_d
-I/usr/lib/python2.5/site-packages/numpy/core/include -lutil -ldl -shared
-lpython2.6
./configure-9068-28990.c: In function ‘initsg’:
./configure-9068-28990.c:50: warning: unused variable ‘outArray’
./configure-9068-28990.c: At top level:
/usr/include/python2.5_d/numpy/__multiarray_api.h:968: warning: ‘_import_array’
defined but not used
/home/yoh/.tmp/ccc9mHd3.o: In function `_import_array':
/usr/include/python2.5_d/numpy/__multiarray_api.h:975: undefined reference to
`_Py_RefTotal'
/usr/include/python2.5_d/numpy/__multiarray_api.h:975: undefined reference to
`_Py_RefTotal'
/usr/include/python2.5_d/numpy/__multiarray_api.h:975: undefined reference to
`_Py_NegativeRefcount'
/usr/include/python2.5_d/numpy/__multiarray_api.h:975: undefined reference to
`_Py_Dealloc'
/usr/include/python2.5_d/numpy/__multiarray_api.h:979: undefined reference to
`_Py_RefTotal'
/usr/include/python2.5_d/numpy/__multiarray_api.h:979: undefined reference to
`_Py_RefTotal'
/usr/include/python2.5_d/numpy/__multiarray_api.h:979: undefined reference to
`_Py_NegativeRefcount'
/usr/include/python2.5_d/numpy/__multiarray_api.h:979: undefined reference to
`_Py_Dealloc'
/usr/include/python2.5_d/numpy/__multiarray_api.h:980: undefined reference to
`_Py_RefTotal'
/usr/include/python2.5_d/numpy/__multiarray_api.h:980: undefined reference to
`_Py_RefTotal'
/usr/include/python2.5_d/numpy/__multiarray_api.h:980: undefined reference to
`_Py_NegativeRefcount'
/usr/include/python2.5_d/numpy/__multiarray_api.h:980: undefined reference to
`_Py_Dealloc'
$> cc -I. -I.. -fPIC -g -Wall -O1 -pthread ./configure-9068-28990.c -o
./configure-10394-28990.o -Xlinker --no-undefined -lm -pthread -llapack -lcblas
-llapack_atlas -lglpk -lm -llzo2 -lz -lbz2 -llzma -fno-strict-aliasing -fPIC
-I/usr/include/python2.5_d
-I/usr/lib/python2.5/site-packages/numpy/core/include -lutil -ldl -shared
-lpython2.6
./configure-9068-28990.c: In function ‘initsg’:
./configure-9068-28990.c:50: warning: unused variable ‘outArray’
./configure-9068-28990.c: At top level:
/usr/include/python2.5_d/numpy/__multiarray_api.h:968: warning: ‘_import_array’
defined but not used
It seems that those are indeed missing from _d.so for python 2.5 (present only
in static .a) and present just fine for python 2.6.
$> grep _Py_RefTotal /usr/lib/{,python2*/config_d/}libpython2.*{so,a}
Binary file /usr/lib/libpython2.6_d.so matches
Binary file /usr/lib/python2.6/config_d/libpython2.6_d.so matches
Binary file /usr/lib/python2.6/config_d/libpython2.6.so matches
Binary file /usr/lib/python2.5/config_d/libpython2.5.a matches
Binary file /usr/lib/python2.6/config_d/libpython2.6.a matches
Binary file /usr/lib/python2.6/config_d/libpython2.6_d.a matches
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (901, 'unstable'), (900, 'testing'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python2.5-dbg depends on:
ii libbz2-1.0 1.0.5-3 high-quality block-sorting file co
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libdb4.5 4.5.20-13 Berkeley v4.5 Database Libraries [
ii libncursesw5 5.7+20100313-2 shared libraries for terminal hand
ii libreadline6 6.0-5 GNU readline and history libraries
ii libsqlite3-0 3.6.23.1-1 SQLite 3 shared library
ii libssl0.9.8 0.9.8m-2 SSL shared libraries
ii python2.5 2.5.5-4 An interactive high-level object-o
ii zlib1g 1:1.2.3.5.dfsg-1~debug2 compression library - runtime
python2.5-dbg recommends no packages.
Versions of packages python2.5-dbg suggests:
ii python-dbg [python-tk-dbg] 2.5.4-9 Debug Build of the Python Interpre
pn python-gdbm-dbg <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]