Skip to content

BOLT-WARNING: specifying numeric value "1" for option -icf is deprecated #149708

Open

Description

@utkonos

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:

-icf=1

This issue mentions ICF behavior: #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

Activity

  1. added
    type-bug
    on May 12, 2026
  2. added
    build
    on May 12, 2026
  3. ankhikarmakar commented on May 19, 2026

    @ankhikarmakar
    Contributor

    This overlaps with #148833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions