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

investigate objcopy: xxxx: debuglink section already exists in build output #41

Open
softprops opened this issue Oct 8, 2019 · 1 comment

Comments

@softprops
Copy link
Owner

this seems to be an artifact of #39. It's unclear if its actually harmful but it is a it off putting. Let's see if we can't figure out what it makes and address

@patstew
Copy link

patstew commented Jun 30, 2023

Ended up here trying to fix my own issue. FWIW it means the debuglink hasn't been added. It seems lld sometimes takes a debuglink from the system runtime which prevents the one you want from being added. You can fix it by adding --remove-section=.gnu_debuglink before the --add-gnu-debuglink=....

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

2 participants