cc-wrapper: Clean up dynamic linking with x86 multilib#29568
Merged
edolstra merged 1 commit intoNixOS:stagingfrom Oct 2, 2017
Merged
cc-wrapper: Clean up dynamic linking with x86 multilib#29568edolstra merged 1 commit intoNixOS:stagingfrom
edolstra merged 1 commit intoNixOS:stagingfrom
Conversation
|
@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @orivej and @abbradar to be potential reviewers. |
Ericson2314
commented
Sep 19, 2017
Member
Author
There was a problem hiding this comment.
I assume only the last -m flag matters.
fd4ecec to
6e56d6e
Compare
4411f99 to
2eea93f
Compare
b3b79c6 to
c8b5f99
Compare
c8b5f99 to
d5e80eb
Compare
46361c0 to
706e281
Compare
Member
Author
|
Ok, this one is ready for review next! |
orivej
reviewed
Sep 28, 2017
| @@ -71,8 +71,18 @@ declare -a libDirs | |||
| declare -A libs | |||
| relocatable= | |||
Contributor
There was a problem hiding this comment.
It seems that link32 may be left undefined. I'd suggest declaring it here and moving these declarations under the following comment.
Member
Author
There was a problem hiding this comment.
I'm surprised I didn't hit that with set -u.
8 tasks
It's better layering to do everything in ld-wrapper. Also, use numeric comparisons for `relocatable`.
706e281 to
fdbda21
Compare
Member
Author
|
Doing rebuilds overnight. Hope you all like it tomorrow! edit suceeded. |
orivej
approved these changes
Sep 29, 2017
LnL7
approved these changes
Oct 1, 2017
vcunat
approved these changes
Oct 1, 2017
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.
Motivation for this change
It's better layering to do everything in ld-wrapper.
I pulled this out of #29396 as its good to consider on its own. It was reviewed there by @orivej, however.
Things done
build-use-sandboxinnix.confon non-NixOS)statifier, some multilib-using Linux derivation. Tested that 32- and 64-bit binaries both ran.nix-shell -p nox --run "nox-review wip"./result/bin/)CC @orivej