Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uppgo: Invalid instrumentation profile data (bad magic) #49410
Comments
matthiaskrgr
changed the title
invalid instru
pgo: Invalid instrumentation profile data (bad magic)
Mar 27, 2018
pietroalbini
added
A-LLVM
T-compiler
C-bug
labels
Mar 27, 2018
This comment has been minimized.
This comment has been minimized.
|
You need to run |
This comment has been minimized.
This comment has been minimized.
|
(I don't get such a warning when inserting the step above before running with |
This comment has been minimized.
This comment has been minimized.
|
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 |
This comment has been minimized.
This comment has been minimized.
|
You need to |
This comment has been minimized.
This comment has been minimized.
|
(Well, I suspect the profraw / profdata format is not very unstable, but yeah, probably adding the llvm utilities to that would be helpful. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
Ah, I got it working with that, thanks a lot! |
This comment has been minimized.
This comment has been minimized.
|
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 |
This comment has been minimized.
This comment has been minimized.
|
I thought I saw one but can't find it now. @japaric would probably know? |
This comment has been minimized.
This comment has been minimized.
|
@sfackler not yet. I'll open an issue this week to discuss which binutils we want to add. |
This comment has been minimized.
This comment has been minimized.
See #49584 |
This comment has been minimized.
This comment has been minimized.
|
Triage: #49584 was merged. Given the previous comment:
I think this can be closed. @matthiaskrgr please let me know if this is wrong! |
matthiaskrgr commentedMar 27, 2018
•
edited
Hi, I was trying to use pgo to build fd-find as a test but I'm running into an error:
cc @emilio