Open llongint opened 1 year ago
@llvm/issue-subscribers-bolt
AArch64 might generate mismatched remember/restore CFIs in some cases which could lead to this assertion failure.
related patches: https://reviews.llvm.org/D142975 https://reviews.llvm.org/D147029
AArch64 might generate mismatched remember/restore CFIs in some cases which could lead to this assertion failure.
related patches: https://reviews.llvm.org/D142975 https://reviews.llvm.org/D147029
Thank you very much for your reply. Hope your fixs can be incorporated as soon as possible.
@linsinan1995 This modification does avoid the perf2bolt problem. However, a segment error occurs during running after the llvm-bolt optimization. Is the modification incomplete or is the bug related to the OS configuration?
# numactl -C 77-127 -i 0-3 ./mysqld.opt --defaults-file=/etc/my.cnf --bind-address=127.0.0.1
Segmentation fault (core dumped)
Segmentation fault (core dumped)
it is a bit hard to help you with the limited information in this thread. Can you provide a way to reproduce or more information like llvm commit hash for example?
@linsinan1995 After the -no-pie
option is added during compilatin, and the D147029 patch is installed can avoid this problem.
@llongint: Patch was not merged yet.
I encountered this error when I tried to process MySQL sampling file on Arm. Does anyone know how to solve it?
error message:
my OS: