Bug#684214: gcc-4.7: Fail to build functional python/numpy extension

2012-08-08 Thread Raphael Plasson
On 08/08/2012 10:31, Matthias Klose wrote: -march=native is generated by distutils? Please find the correct -march= option, or else this is not reproducible. Oups, you are right, the "-march=native -g0" comes from my setupe.py (don't remember exactly why I put them, not sure if they are reall

Bug#684214: gcc-4.7: Fail to build functional python/numpy extension

2012-08-07 Thread Raphael Plasson
Package: gcc-4.7 Version: 4.7.1-6 Severity: normal When building a C extension to Python that uses Numpy (more precisely that tries to access a Numpy array from C), the resulting module segfaults when used. I spent some time figuring out what was the origin of the problem (similar extension I wr