Re: [Mingw-w64-public] seek a python library built from mingw/mingw64?

2012-12-13 Thread asmwarrior
On 2012-12-13 17:21, Václav Šmilauer wrote:
>> >Hi, when I run the gdb (python enabled) under drmemory, like:
>> >drmemory gdb.exe
>> >
>> >I see a lot of error reports regarding about memory error related to python 
>> >dll, like below:
>> >(ERROR 3)
> Since I assume drmemory is something akin to valgrind, I can generally
> comment on its combination with Python. Python uses some smart
> techniques of managing its own memory (including reads from
> unititialized chunks) which look suspicicous to analysis programs. See
> http://svn.python.org/projects/python/trunk/Misc/README.valgrind  for
> details.

Ok, so drmemory may report some false-errors, which is not actually memory 
errors.
  
> I filed the issuehttp://bugs.python.org/issue16472  about
> msvcrt/msvcr90, but it is not (yet) conclusive.
>
> (Don't get me wrong I would be very glad if there were an official
> mingw-built version of python. I just wanted to say that the distributed
> MSVC binary works.
>
> HTH, Vaclav

Hi, thanks. Sorry, I'm not quite understand your bug report on python site. As 
a conclusion, do you mean that it is safe to build/run a python-enabled gdb 
(under msys+mingw) which link to official python lib (msvcr90)?






--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] seek a python library built from mingw/mingw64?

2012-12-13 Thread asmwarrior
On 2012-12-13 12:42, Алексей Павлов wrote:
> Hi!
> You may download any toolchain that you need from 
> https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4..7.2
>  
> .
>  All toolchains since rev2 contains prebuilded Python-2.7.3 in opt 
> subdirectory and gdb that in toolchain work with this python.

Thanks for the info, I will try it.


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] seek a python library built from mingw/mingw64?

2012-12-13 Thread Václav Šmilauer

> Hi, when I run the gdb (python enabled) under drmemory, like:
> drmemory gdb.exe
>
> I see a lot of error reports regarding about memory error related to python 
> dll, like below:
> (ERROR 3)
Since I assume drmemory is something akin to valgrind, I can generally 
comment on its combination with Python. Python uses some smart 
techniques of managing its own memory (including reads from 
unititialized chunks) which look suspicicous to analysis programs. See 
http://svn.python.org/projects/python/trunk/Misc/README.valgrind for 
details.
> So, I suspect that this is caused that mingw use msvcrt.dll, but the 
> python2.7.3 release was built from MSVC, so it has another kind of c runtime 
> library.
>
> If possible, I need to build gdb which should link to a python libary(built 
> from mingw).
>
> I see this: 
> https://github.com/niXman/mingw-builds/tree/master/patches/Python-2.7.3
> There are too many patches, and I even don't know how to build it. So, I wish 
> there is a pre-build python library release from mingw/mingw64.
I don't think it is related to using different runtimes, though. There 
was a threads started by myself earlier on the subject 
http://thread.gmane.org/gmane.comp.gnu.mingw.w64.general/6241 . I can 
link to the official python27.dll just fine with mingw, but I need to 
change distutils to link to msvcrt, not to msvcr90, to which 
python27.dll links otherwise (there is a patch to distutils in 
attachment to 
http://thread.gmane.org/gmane.comp.gnu.mingw.w64.general/6509/focus=6511). 
I am not sure if that is related to the fact that mingw links to msvcrt 
automatically.

I filed the issue http://bugs.python.org/issue16472 about 
msvcrt/msvcr90, but it is not (yet) conclusive.

(Don't get me wrong I would be very glad if there were an official 
mingw-built version of python. I just wanted to say that the distributed 
MSVC binary works.

HTH, Vaclav


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public