Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure should conditionally add -fno-reorder-blocks-and-partition #101060

Closed
indygreg opened this issue Jan 15, 2023 · 2 comments
Closed

Configure should conditionally add -fno-reorder-blocks-and-partition #101060

indygreg opened this issue Jan 15, 2023 · 2 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@indygreg
Copy link
Contributor

indygreg commented Jan 15, 2023

Bug report

--enable-bolt currently unconditionally adds -fno-reorder-blocks-and-partition. This flag isn't implemented on Clang and breaks the build in this configuration.

PR forthcoming.

Linked PRs

@indygreg indygreg added the type-bug An unexpected behavior, bug, or error label Jan 15, 2023
indygreg added a commit to indygreg/cpython that referenced this issue Jan 15, 2023
The flag isn't implemented on Clang. So we need this so we can
enable BOLT on Clang.
indygreg added a commit to indygreg/cpython that referenced this issue Jan 15, 2023
The flag isn't implemented on Clang. So we need this so we can
enable BOLT on Clang.
indygreg added a commit to indygreg/cpython that referenced this issue Jan 16, 2023
The flag isn't implemented on Clang. So we need this so we can
enable BOLT on Clang.
indygreg added a commit to indygreg/cpython that referenced this issue Jan 21, 2023
The flag isn't implemented on Clang. So we need this so we can
enable BOLT on Clang.
@corona10
Copy link
Member

Current status


clangclangclangclangclang: : : : : clangerror: error: : error: clangerror: error: unknown argument: '-fno-reorder-blocks-and-partition'clangunknown argument: '-fno-reorder-blocks-and-partition'unknown argument: '-fno-reorder-blocks-and-partition'unknown argument: '-fno-reorder-blocks-and-partition'

unknown argument: '-fno-reorder-blocks-and-partition'error:

: unknown argument: '-fno-reorder-blocks-and-partition'error: unknown argument: '-fno-reorder-blocks-and-partition'
: error:
unknown argument: '-fno-reorder-blocks-and-partition'

@corona10
Copy link
Member

Now BOLT build supports clang too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants