I have been building all versions ( 3.11.5 and below) of Python on my el7 (CentOS 7) system with no problems.
Now 3.12 is out and I can't build it.
Now 3.12 is out and I can't build it.
Error:---
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
---
Who can help ?