python / python/cpython

JIT: drop `-fno-plt` on Linux x86-64

Open
#148,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

interpreter-core topic-JIT type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Feature or enhancement

Proposal:

https://github.com/python/cpython/pull/148238 removes -fno-plt for Linux AArch64. The JIT code generated has improved.

We should do a similar thing for Linux x86-64. I tried on that PR but the change requires more investigation.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

I've discussed this with @markshannon

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reading PR #148238, which removes the flag for Linux AArch64, and review the linked Discourse discussion. Compare that approach with Linux x86-64 JIT behavior; done means determining whether -fno-plt can be dropped without regressions and validating the generated code improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
compilers, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.