Sourish Basu added the comment:
By enabling and disabling optimization flags one by one, I figured out it was
'-ipo' (inter-procedural optimization) that was the problem. Without that flag,
'configure' is successful. However, now I have a 'make' error:
./Prog
Sourish Basu added the comment:
conftest_unoptimized.o uploaded
--
Added file: https://bugs.python.org/file50376/conftest_unoptimized.o
___
Python tracker
<https://bugs.python.org/issue45
Sourish Basu added the comment:
conftest.o attached
--
Added file: https://bugs.python.org/file50374/conftest.o
___
Python tracker
<https://bugs.python.org/issue45
Sourish Basu added the comment:
conftest.c attached
--
Added file: https://bugs.python.org/file50375/conftest.c
___
Python tracker
<https://bugs.python.org/issue45
Sourish Basu added the comment:
I executed:
$ icc -c -O3 -fPIC -fp-model strict -fp-model source -axCORE-AVX512,CORE-AVX2
-xAVX -ipo -prec-div -prec-sqrt conftest.c
and conftest.o was built without errors. It has one symbol, as expected:
$ nm conftest.o
U
Sourish Basu added the comment:
See attached my config log.
When I tried to compile conftest.c with 'icc -c conftest.c', it produced
'conftest.o' without any errors.
--
Added file: https://bugs.python.org/file50364/config.log
__
New submission from Sourish Basu :
I am trying to compile Python 3.10.0 on a Red Hat linux system with intel C/C++
compilers. This is my configure command:
```
./configure --with-computed-gotos --without-gcc --with-ensurepip=install
--enable-optimizations --with-libm=-limf --with-cxx-main