ld: Add --dump-normalized-lib-args flag#34
Merged
Ericson2314 merged 1 commit intotpoechtrager:masterfrom Sep 30, 2017
Merged
Conversation
a61db0b to
68eae28
Compare
|
@Ericson2314 Does this roundtrip? |
Collaborator
Author
|
@shlevy that's the intent, but need to finish script to make sure it actually does. There's no good way to reproduce every flag without vastly more work, so it will be up to the script to filter out |
This allows scripts to see how cctools resolves inputs. The flags are \0-separated. Fixes tpoechtrager#32; See that issue for a more in-depth explanation of the purpose of this change.
68eae28 to
8395d4b
Compare
Ericson2314
added a commit
to obsidiansystems/nixpkgs
that referenced
this pull request
Sep 13, 2017
Patch is drawn from [1], a back-port of [2]. Eventually, we might consider doing something for GNU binutils too, in order that we switch (the normal) ld-wrapper to always use this to leverage ld to resolve libraries, rather than faking it in bash. [1]: https://github.com/obsidiansystems/cctools-port/tree/libs-normalize-17.03 [2]: tpoechtrager/cctools-port#34
Ericson2314
added a commit
to obsidiansystems/nixpkgs
that referenced
this pull request
Nov 17, 2017
Patch is drawn from [1], made a PR at [2]. Eventually, we might consider doing something for GNU binutils too, in order that we switch (the normal) ld-wrapper to always use this to leverage ld to resolve libraries, rather than faking it in bash. [1]: https://github.com/obsidiansystems/cctools-port/tree/libs-normalize [2]: tpoechtrager/cctools-port#34
Ericson2314
added a commit
to obsidiansystems/nixpkgs
that referenced
this pull request
Apr 12, 2018
Source master rebase of my [PR NixOS#34]. Eventually, we might consider doing something for GNU binutils too, in order that we switch (the normal) ld-wrapper to always use this to leverage ld to resolve libraries, rather than faking it in bash. [PR NixOS#34]: tpoechtrager/cctools-port#34
adrianpk
added a commit
to adrianpk/nixpkgs
that referenced
this pull request
May 31, 2024
Patch is drawn from [1], a back-port of [2]. Eventually, we might consider doing something for GNU binutils too, in order that we switch (the normal) ld-wrapper to always use this to leverage ld to resolve libraries, rather than faking it in bash. [1]: https://github.com/obsidiansystems/cctools-port/tree/libs-normalize-17.03 [2]: tpoechtrager/cctools-port#34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows scripts to see how cctools resolves inputs. Args are printed
\0-separated for easy machine consumption.Fixes #32; See that issue for a more in-depth explanation of the purpose of this change.
CC @shlevy