-
Notifications
You must be signed in to change notification settings - Fork 13.3k
pgo: Invalid instrumentation profile data (bad magic) #49410
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
Comments
You need to run |
(I don't get such a warning when inserting the step above before running with |
Thanks, I tried to
now but I'm still getting the same error, hmm :/ I was lucky to have some working llvm 6.0 toolchain around though, since it seems that |
You need to |
(Well, I suspect the profraw / profdata format is not very unstable, but yeah, probably adding the llvm utilities to that would be helpful. |
There's already some desire to ship llvm-binutils for embedded use cases so it seems like we could add llvm-profdata to that as well. |
Ah, I got it working with that, thanks a lot! |
Probably this should be closed, and another issue filed for llvm-profdata. I don't have the rights to do that though. @sfackler is there any issue tracking shipping |
I thought I saw one but can't find it now. @japaric would probably know? |
@sfackler not yet. I'll open an issue this week to discuss which binutils we want to add. |
See #49584 |
Triage: #49584 was merged. Given the previous comment:
I think this can be closed. @matthiaskrgr please let me know if this is wrong! |
Hi, I was trying to use pgo to build fd-find as a test but I'm running into an error:
cc @emilio
The text was updated successfully, but these errors were encountered: