Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork249
Use PGO during musl builds#570
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
zanieb commentedMar 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Well, that's a first problem resolved indb52d2b |
zanieb commentedMar 19, 2025
|
zanieb commentedMar 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This looks like an actual blocker, |
indygreg commentedMar 20, 2025
The way PGO works is an extra library providing PGO instrumentation is linked automagically. It looks like that library is referencing a symbol that isn't being linked in. It is likely that LLVM is making assumptions about which symbols are present and/or which extra libraries need to be linked to resolve all symbols. Those assumptions are likely tailored for glibc and don't hold on musl. It is also possible that glibc only symbols are leaking into the LLVM PGO instrumentation library (because LLVM was compiled against glibc). In that case, we can't do much. It is possible a newer version of LLVM has worked around this issue somehow. I'd focus on upgrading the toolchain. Then we can hash out PGO. |
zanieb commentedDec 10, 2025
After upgrading llvm, I encounter a similar looking issue |
Uh oh!
There was an error while loading.Please reload this page.
It's not clear why we're not using this. Let's see what happens.