BOLT-WARNING: specifying numeric value "1" for option -icf is deprecated
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- python
- Domain
- build-system
Research direction
Start with configure.ac around line 2258, where BOLT_APPLY_FLAGS hard-codes the deprecated -icf value. Reproduce the warning with the provided --enable-bolt configure command and inspect the related ICF behavior described in pull request 134642. Done means the Linux build no longer emits this BOLT-WARNING.
Written by the indexing model from the issue text.
Description
Bug report
Bug description:
Building 3.14.5 with gcc 15.2 and --enable-bolt produces this warning:
default: BOLT-WARNING: specifying numeric value "1" for option -icf is deprecated
This line in configure.ac hard codes -icf=1 in BOLT_APPLY_FLAGS:
https://github.com/python/cpython/blob/54a5fd4126df74f7b84d1f8a6a36ef79803f66f9/configure.ac#L2258
This issue mentions ICF behavior: https://github.com/python/cpython/pull/134642
Build environment: Ubuntu 26.04 LTS, gcc 15.2.0, configure with:
./configure --enable-optimizations --with-lto --enable-bolt --enable-safety --enable-slower-safety --with-system-expat CXX=/usr/bin/g++ CFLAGS="-flto=auto" LDFLAGS="-flto=auto"
CPython versions tested on:
3.14
Operating systems tested on:
Linux
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 560
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.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
3.13 3.14 3.15 interpreter-core OS-windows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100