-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Clang PGO and glibc on x86_64: ld.lld: error: duplicate symbol: __getcwd #86405
Comments
github-actions
bot
added
clang
Clang issues not falling into any other category
lld
labels
Mar 23, 2024
@zatrazz To not derail the BOLT thread any further, this is another unique issue at the moment with your Clang/Glibc branch. The idea was to gather PGO data from the test run, but adding the neccessary flags leads to the reported duplicate symbol error. |
I've tried mold, bfd and gold which also all error out. Gold throws the best error messages:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the following PKGBUILD for Glibc where I inject the PGO-Flags. Clang version is: bbcfe6f:
I see the following error:
Flags in
/etc/makepkg.conf
:The text was updated successfully, but these errors were encountered: