Open
Description
Bug report
Bug description:
I have been building all versions ( 3.11.5 and below) of Python on my el7 (CentOS 7) system with no problems.
(with the help of : devtoolset-8-gcc-8.3.1-3.2.el7.x86_64.rpm)
Now 3.12 is out and I can't build it.
Rebuilding with profile guided optimizations:
rm -f profile-clean-stamp
make build_all CFLAGS_NODIST=" -fprofile-use -fprofile-correction" LDFLAGS_NODIST=""
make[1]: Entering directory `/builddir/build/BUILD/Python-3.12.0'
gcc -pthread -shared -L/usr/lib64/openssl11 -lssl -lcrypto -fno-semantic-interposition Modules/_tkinter.o Modules/tkappinit.o -o Modules/_tkinter.cpython-312-x86_64-linux-gnu.so
gcc: error: unrecognized command line option '-fno-semantic-interposition'
make[1]: Leaving directory `/builddir/build/BUILD/Python-3.12.0'
make[1]: *** [Modules/_tkinter.cpython-312-x86_64-linux-gnu.so] Error 1
make: *** [profile-opt] Error 2
P.S. Build Python 3.11.6 - no problem.
CPython versions tested on:
3.12
Operating systems tested on:
Linux