-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
[BOLT][AArch64] unsupported CFI opcode on Ubuntu 24.04 and AL2023 #120992
Comments
Added postgres binary and perf profile to the ticket |
Running it with debug mode, I can see a long list of Full log can be found here
|
There are three problematic functions for BOLT there: Skipping first two with
would create bolted binary successfully. There is work ongoing that may help avoid using skip-funcs.
which should be fixed by creating entry points for dynamic relocations addresses #120267. Functions
That can be fixed by work on pointer authentication support in BOLT #120064. As alternative you can use libgcc.a and crtbegin.o built with pointer authentication disabled ( it is off by default in gcc and llvm ). To check on gcc:
|
Just a sidenote @salvatoredipietro : I suggest running BOLT with |
@bgergely0 I will do. Thanks for the sugestion |
Description
When attempting to use BOLT on Amazon Linux 2023 (AL2023) and Ubuntu24.04 using an AArch64 instance (AWS m7g.4xlarge),
llvm-bolt
command fails with "unsupported CFI opcode" error. This happen especially when I am trying to use long perf profile ( > 120 seconds).Environment
Steps to Reproduce
Error Message
Binary and perf profile: link
The text was updated successfully, but these errors were encountered: