-
Notifications
You must be signed in to change notification settings - Fork 13.5k
lld: syntax error in linker script triggers a sef-fault #120552
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
Comments
@llvm/issue-subscribers-lld-elf Author: None (nickclifton)
I was experimenting with a change to a linker script when I encountered a segmentation fault triggered by a syntax error:
ld.lld: error: kernel.ld:3: ( expected, but got 0 This was with LLD 19.1.5 running on Fedora 41. The full linker script looks like this: SECTIONS
} Obviously I should have written "LONG (0)" instead of "LONG 0", but I figured that you might wish to fix the seg-fault anyway. |
Fixed by #100493 (milestone: lld 20). In the previous implementation of |
Uh oh!
There was an error while loading. Please reload this page.
I was experimenting with a change to a linker script when I encountered a segmentation fault triggered by a syntax error:
This was with LLD 19.1.5 running on Fedora 41.
The full linker script looks like this:
Obviously I should have written "LONG (0)" instead of "LONG 0", but I figured that you might wish to fix the seg-fault anyway.
The text was updated successfully, but these errors were encountered: