[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2013-11-02 Thread Nicolas Frattaroli
Nicolas Frattaroli added the comment: I had the same issue. It wouldn't just crash, it would crash sometimes, and not other times. About 50% of the time. The solution to remove msvcr as suggested by Marek did work. I didn't apply his patch, however, because I'm using a MinGW64Compiler

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2013-10-24 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: -tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16472 ___ ___ Python-bugs-list

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2013-07-30 Thread Marek Marczykowski-Górecki
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

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-30 Thread Václav Šmilauer
Václav Šmilauer added the comment: I was having a compiled module consistently crash at import time when linking against msvcr90, and being imported fine when linked against msvcrt. I will try to investigate further with mingw folks. -- ___ Python

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-29 Thread Václav Šmilauer
Václav Šmilauer added the comment: I am sorry for the initial confusion. python27.dll is really linked against MSVCR90. Its path, though, is c:\windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\MSVCR90.DLL, and perhaps is a different one found at

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think further investigation should require analysing the crash in a debugger. It may well be that the crash is completely unrelated to msvcrt. -- ___ Python tracker rep...@bugs.python.org

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-25 Thread Catalin Iacob
Catalin Iacob added the comment: Václav, are you sure about the official python27.dll being linked against msvcrt.dll? Maybe this is your own python27.dll compiled with MinGW? I see the opposite: for both C:\windows\system32\python27.dll (64 bit) and c:\windows\SysWOW64\python27.dll (32 bit)

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-14 Thread Václav Šmilauer
New submission from Václav Šmilauer: Compiling an extension with --compiler=mingw32 with official python 2.7.3 distribution on Windows (64bit) leads to unusable result - crash on module load (invalid access to memory). The reasons is that Lib/distutils/cygwincompiler.py#l62 links the

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-14 Thread Ralf Schmitt
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16472 ___ ___ Python-bugs-list

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-14 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +brian.curtin, loewis, mhammond, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16472 ___