Skip to content

Strip -rpath arguments since lld does not support them, but gcc-mingw does #448

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

Closed
wants to merge 3 commits into from

Conversation

tomager
Copy link

@tomager tomager commented Aug 10, 2024

Fixes #300.

@mstorsjo
Copy link
Owner

We shouldn't be doing this in the wrapper; if we want to ignore it, it should be done upstream in LLD. Let's keep the discussion in #300, which I can take further upstream when we have references to where it's needed.

@tomager
Copy link
Author

tomager commented Aug 10, 2024

Fair enough. In case this does move forward though, the patch needs to adjusted to deal with quoted arguments. An attempt to deal with that is the third commit to this pull branch.

@mstorsjo
Copy link
Owner

mstorsjo commented Sep 5, 2024

FWIW, this shouldn't be necessary in the latest prereleases with LLVM 19.x, where the -rpath option should be recognized and ignored.

@mstorsjo mstorsjo closed this Sep 5, 2024
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

Successfully merging this pull request may close these issues.

Is the rpath option unrecognized?
2 participants