Marek Marczykowski-Górecki added the comment:

I can confirm that when a module is linked against msvcr90, it crashes with 
"invalid access to memory". When removed that library from the linker options 
(that is - no explicit msvcr, in any version) - module worked perfectly.

Note that comment on 
http://hg.python.org/cpython/file/6e1dd1ce95b8/Lib/distutils/cygwinccompiler.py#l333
 (Minge32CComiler class) already says "no additional libraries needed", but 3 
lines later it sets dll_libraries to msvcr90 (via get_msvcr). So just removing 
lines 336:338 works great. Patch attached. Any chances to get this fixed in the 
next python 2.7.x release?

My system is Windows 7 64bit, Python 2.7.5 64bit (from official msi installer)

----------
keywords: +patch
nosy: +marmarek
Added file: http://bugs.python.org/file31094/python-distutils-mingw32.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16472>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to