JIT: drop `-fno-plt` on Linux x86-64
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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