Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
build Python 3.12 in el7
#3
(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
Reply


Messages In This Thread
build Python 3.12 in el7 - by SergeyMx - Oct-03-2023, 08:26 AM
RE: build Python 3.12 in el7 - by deanhystad - Oct-03-2023, 10:03 PM
RE: build Python 3.12 in el7 - by SergeyMx - Oct-04-2023, 09:12 AM
RE: build Python 3.12 in el7 - by SergeyMx - Oct-05-2023, 03:51 AM
RE: build Python 3.12 in el7 - by deanhystad - Oct-05-2023, 06:55 AM
RE: build Python 3.12 in el7 - by SergeyMx - Oct-05-2023, 08:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to link Sublime Text 3 Build system to Python 3.9 Using Windows 10 Fanman001 2 4,727 Mar-04-2021, 03:09 PM
Last Post: martpogs
  Compiling Python 3.8.5 source code results in build error Deepan 0 2,243 Sep-14-2020, 04:11 AM
Last Post: Deepan
  Build Python RPM pvbadiger05b 0 1,650 May-11-2020, 06:50 PM
Last Post: pvbadiger05b
  cannot build python 3.8.2 (make test fails on test_imprtlib) borabora 1 2,834 May-08-2020, 09:10 PM
Last Post: Larz60+
  How to build exe/deployable file from Python Project ShikhaJain 1 2,879 Jul-04-2019, 05:37 PM
Last Post: snippsat
  Build error (Python 3.7) Saszalez 0 2,302 Jun-20-2019, 07:59 AM
Last Post: Saszalez
  PYTHON - UNRAR : how can I build a thread to monitoring the downloading status Palerm0_24 2 2,688 Mar-18-2019, 02:25 PM
Last Post: Palerm0_24
  Pyenv build of python 3.7.0 issue Larz60+ 3 4,378 Dec-03-2018, 09:28 PM
Last Post: Larz60+
  Can Python build graphical screens like this? wasa 1 2,983 Mar-08-2018, 01:24 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020