Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Docs for how to build on RHEL/CentOS #110381

Copy link
Copy link
Open
@sergeymx

Description

@sergeymx
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.