Skip to content
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

--debugout fails linking step #14

Open
Zeno343 opened this issue Jun 23, 2022 · 0 comments
Open

--debugout fails linking step #14

Zeno343 opened this issue Jun 23, 2022 · 0 comments

Comments

@Zeno343
Copy link

Zeno343 commented Jun 23, 2022

Recently ran into a problem with segfaults (separate issue incoming... 😁 ) and discovered that the --debugout flag causes my ld to break and complain about a discarded .got.plt section. Worth noting these .o files are products of Rust. I managed to get it to link by removing the catch-all DISCARD in the linker script but then none of the debug symbols lined up.

I can provide objdumps or whatever of the two .o files and the /tmp/ stuff, just let me know what you'd want

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

No branches or pull requests

1 participant