[issue24543] Configure script wrongly detects x64/x87/mc68881 with -flto option passed

2015-07-03 Thread marxin
marxin added the comment: Works for me. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24543 ___ ___ Python-bugs-list mailing list

[issue24543] Configure script wrongly detects x64/x87/mc68881 with -flto option passed

2015-07-02 Thread marxin
marxin added the comment: As I wrote, starting from GCC 4.9.0, the compiler does not emit any assembly with -flto and -c option. I would suggest to remove '-c' option that will force to create an executable. -- ___ Python tracker rep

[issue24543] Configure script wrongly detects mc68881 with -flto option passed

2015-07-01 Thread marxin
New submission from marxin: I've just tried to build Python with {C,CXX,LD}FLAGS set to '-flto'. Unfortunately following conftest source file is fragile: cat /tmp/mc.c int main () { unsigned int fpcr; __asm__ __volatile__ (fmove.l %%fpcr,%0 : =g (fpcr)); __asm__ __volatile__ (fmove.l %0