[issue3526] Customized malloc implementation on SunOS and AIX
Charles-Francois Natali
report at bugs.python.org
Tue Apr 26 22:46:06 CEST 2011
Charles-Francois Natali <neologix at free.fr> added the comment:
I just noticed there's already a version of dlmalloc in Modules/_ctypes/libffi/src/dlmalloc.c
Compiling with gcc -shared -fpic -o /tmp/dlmalloc.so ./Modules/_ctypes/libffi/src/dlmalloc.c
Then LD_PRELOAD=/tmp/dlmalloc.so ./python
works just fine (and by the way, it solves the problem with glibc's version in #11849, it's somewhat slower though).
Or am I missing something?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3526>
_______________________________________
More information about the Python-bugs-list
mailing list