-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
LLD crash when linking on Mac #55565
Comments
@llvm/issue-subscribers-lld-macho |
@llvm/issue-subscribers-bug |
Also note that the cause of the crash is an assertion failure.
|
We do have the |
What I mean is that unlike Clang, LLD doesn't automatically output one. |
The reproducer is at https://storage.googleapis.com/fuchsia-build/55565.tar.xz |
@abrachet has a proposed fix in https://reviews.llvm.org/D126072 |
The <internal> symbol was tripping an assertion in getVA() because it was not marked as used. Per the comment above that symbols creation, dead stripping has already occurred so marking this symbol as used is accurate. Fixes llvm/llvm-project#55565 Differential revision: https://reviews.llvm.org/D126072
The <internal> symbol was tripping an assertion in getVA() because it was not marked as used. Per the comment above that symbols creation, dead stripping has already occurred so marking this symbol as used is accurate. Fixes llvm#55565 Differential revision: https://reviews.llvm.org/D126072
Fuchsia's CI build is seeing crashes in LLD when linking for x86 Mac.
The crash first shows up here: https://luci-milo.appspot.com/ui/p/fuchsia/builders/ci/clang_toolchain.ci.core.x64-host_test_only-mac/b8813899019497873137/overview
Crash report:
Unfortunately, LLD does not output a reproducer. This is more motivation for https://reviews.llvm.org/D120201
We are working on bisecting the issue, but that will take a while.
The text was updated successfully, but these errors were encountered: