[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 with gcc-4.7. It can be compiled by:
> gcc-4.[5-7] -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c essai.c -o essai.o -march=native -g0
> gcc-4.[5-7] -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro essai.o -o essai.so
> (the compile options are as automatically generated by distutils stuff).

-march=native is generated by distutils? Please find the correct -march= option,
or else this is not reproducible.


Reply to: