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-08 Thread Matthias Klose
tags 684214 + moreinfo thanks On 07.08.2012 23:04, Raphael Plasson wrote: > Here is an minimal example, I hope it can reproduce the bug (and that the > fault is > not from my code, sorry if it is the case...). It works correctly when > compiled > with gcc-4.[56], and segfaults when compiled wi

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

2012-08-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 684214 + moreinfo Bug #684214 [gcc-4.7] gcc-4.7: Fail to build functional python/numpy extension Added tag(s) moreinfo. > thanks Stopping processing here. Please contact me if you need assistance. -- 684214: http://bugs.debian.org/cgi-bin/b

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