Den 20. feb. 2013 kl. 11:55 skrev Sturla Molden <stu...@molden.no>:

> 
> Den 18. feb. 2013 kl. 19:32 skrev Sturla Molden <stu...@molden.no>:
> 
>> The problem this addresses is when GCC does not use atomic builtins and 
>> emits __synch_fetch_and_add_4 and __synch_fetch_and_sub_4 when Cython are 
>> internally refcounting memoryview buffers. For some reason it can even 
>> happen on x86 and amd64.
> 
> Specifically, atomic builtins are not used when compiling for i386, which is 
> MinGWs default target architecture (unless we specify a different -march). 
> GCC will always encounter this problem when targeting i386.
> 
> Thus the correct fix is to use fallback when GCC is targeting i386 — not when 
> GCC is targeting MS Windows. 
> 
> So I am closing this PR. But Mark's fix must be corrected, because it does 
> not really address the problem (which is i386, not MinGW)! 
> 


Please consider this pull-request:

https://github.com/cython/cython/pull/190



Sturla Molden






_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to