Skip to content

BOLT uses deprecated option -reorder-functions=hfsort+ #128456

Closed
@zanieb

Description

@zanieb

Bug report

Bug description:

Building with BOLT optimizations emits the following warning

BOLT-WARNING: '-reorder-functions=hfsort+' is deprecated, please use '-reorder-functions=cdsort' instead

From the usage at

-reorder-functions=hfsort+

The resolution looks quite straight-forward, I'll post a patch.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions