Re: [Mingw-w64-public] [PATCH] TLS support fixes

2013-02-19 Thread David Nadlinger
Hi Kai, On Tue, Feb 19, 2013 at 7:27 PM, Kai Tietz wrote: > - (ULONG_PTR) &_tls_start+1, (ULONG_PTR) &_tls_end, > + (ULONG_PTR) &_tls_start, (ULONG_PTR) &_tls_end, > > looks to me wrong due we always have one pointer-size allocated in TLS. > > shouldn't be the required fix as the following here

Re: [Mingw-w64-public] [PATCH] TLS support fixes

2013-02-19 Thread Kai Tietz
Hi, well, - (ULONG_PTR) &_tls_start+1, (ULONG_PTR) &_tls_end, + (ULONG_PTR) &_tls_start, (ULONG_PTR) &_tls_end, looks to me wrong due we always have one pointer-size allocated in TLS. shouldn't be the required fix as the following here? - (ULONG_PTR) &_tls_start+1, (ULONG_PTR) &_tls_end, +

Re: [Mingw-w64-public] 64bit Python bindings for libftdi1-1.0 with MinGW-w64

2013-02-19 Thread Xiaofan Chen
On Tue, Feb 19, 2013 at 9:48 PM, Ruben Van Boxem wrote: > > Note official Python 2.7 uses MSVC2008 and Python 3.x use MSVC2010. > > Two things: > 1. You're sure you have installed the MSVC++ redistributables > that Python needs? Check with Dependency Walker to be sure. Thanks. I have access to MS

[Mingw-w64-public] [PATCH] TLS support fixes

2013-02-19 Thread David Nadlinger
Hi all, please find two patches to fix/improve TLS support in mingw-w64-crt attached. The first diff is an actual bug fix; it corrects the TLS start address written to the TLS dictionary (_tls_used). It is used to determine the size and initial contents of the TLS area for new threads. If it does

Re: [Mingw-w64-public] 64bit Python bindings for libftdi1-1.0 with MinGW-w64

2013-02-19 Thread Ruben Van Boxem
2013/2/19 Xiaofan Chen > On Tue, Feb 19, 2013 at 5:22 PM, JonY wrote: > > On 2/19/2013 08:12, Xiaofan Chen wrote: > >> On Tue, Feb 19, 2013 at 6:12 AM, JonY > wrote: > >>> On 2/18/2013 22:56, Xiaofan Chen wrote: > Ref: > http://developer.intra2net.com/mailarchive/html/libftdi/2013/msg00137

Re: [Mingw-w64-public] 64bit Python bindings for libftdi1-1.0 with MinGW-w64

2013-02-19 Thread Ray Donnelly
There are mingw pythons around if you want to try that route? On 19 Feb 2013 13:45, "Xiaofan Chen" wrote: > On Tue, Feb 19, 2013 at 5:22 PM, JonY wrote: > > On 2/19/2013 08:12, Xiaofan Chen wrote: > >> On Tue, Feb 19, 2013 at 6:12 AM, JonY > wrote: > >>> On 2/18/2013 22:56, Xiaofan Chen wrote:

Re: [Mingw-w64-public] 64bit Python bindings for libftdi1-1.0 with MinGW-w64

2013-02-19 Thread Xiaofan Chen
On Tue, Feb 19, 2013 at 5:22 PM, JonY wrote: > On 2/19/2013 08:12, Xiaofan Chen wrote: >> On Tue, Feb 19, 2013 at 6:12 AM, JonY wrote: >>> On 2/18/2013 22:56, Xiaofan Chen wrote: Ref: http://developer.intra2net.com/mailarchive/html/libftdi/2013/msg00137.html I am trying to bu

Re: [Mingw-w64-public] 64bit Python bindings for libftdi1-1.0 with MinGW-w64

2013-02-19 Thread JonY
On 2/19/2013 08:12, Xiaofan Chen wrote: > On Tue, Feb 19, 2013 at 6:12 AM, JonY wrote: >> On 2/18/2013 22:56, Xiaofan Chen wrote: >>> Ref: >>> http://developer.intra2net.com/mailarchive/html/libftdi/2013/msg00137.html >>> >>> I am trying to build the 64bit Python (2.7.3 and 3.3) bindings for >>>