(Oct-03-2023, 10:03 PM)deanhystad Wrote: Looks like you have an old version of gcc. -fno-semantic-interposition was introduced in gcc 5.3 back in 2015.
https://superuser.com/questions/1640048/...n-centos-7
I know about that. And I've built 3.10.x there before.
and 3.11.x (which I wrote about above).
with the help of : devtoolset-8-gcc-8.3.1-3.2.el7.x86_64.rpm
Maybe in 3.12 they forgot some patch for this ?
https://bugs.python.org/issue38980
P.S. Now tried building 3.11.6 - no problem.
---
Wrote: /builddir/build/RPMS/python311-3.11.6-1.el7.x86_64.rpm
Wrote: /builddir/build/RPMS/python311-debuginfo-3.11.6-1.el7.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TxZYP5
+ umask 022
+ cd /builddir/build/BUILD
+ cd Python-3.11.6
+ rm -rf /builddir/build/BUILDROOT/python311-3.11.6-1.el7.x86_64
+ exit 0