Skip to content

lld/ELF: Fix repeated linker script errors in more cases #87535

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

Open
MaskRay opened this issue Apr 3, 2024 · 1 comment
Open

lld/ELF: Fix repeated linker script errors in more cases #87535

MaskRay opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels

Comments

@MaskRay
Copy link
Member

MaskRay commented Apr 3, 2024

Many steps in LinkerScript.cpp are called repeatedly (fixed point iteration). If they call error and errorOrWarning, we may get repeated error messages.

https://reviews.llvm.org/D152170 and #66836 have fixed some issues, but there are more like symbol not found: (#84512 (comment)).

@MaskRay MaskRay added the lld:ELF label Apr 3, 2024
@MaskRay MaskRay self-assigned this Apr 3, 2024
@llvmbot
Copy link
Member

llvmbot commented Apr 3, 2024

@llvm/issue-subscribers-lld-elf

Author: Fangrui Song (MaskRay)

Many steps in LinkerScript.cpp are called repeatedly (fixed point iteration). If they call `error` and `errorOrWarning`, we may get repeated error messages.

https://reviews.llvm.org/D152170 and #66836 have fixed some issues, but there are more like symbol not found: (#84512 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants