Repository navigation
Fix clang wrapper resolution in paths containing spaces - #1944
Merged
Merged
Conversation
Co-authored-by: agocke <[email protected]>
Member
|
Fixes dotnet/runtime#135416 |
lewing
approved these changes
Oct 12, 2026
lewing
approved these changes
Oct 12, 2026
akoeplinger
approved these changes
Oct 12, 2026
Member
|
/backport to release/11.0 |
|
Started backporting to |
Member
|
/backport to release/10.0 |
|
Started backporting to |
|
@akoeplinger backporting to git am output$ git cherry-pick 643f6edfb9515443c33517d9c5a2b186974779c6
Auto-merging eng/clang-wrapper.sh
CONFLICT (content): Merge conflict in eng/clang-wrapper.sh
error: could not apply 643f6edf... Fix clang wrapper paths containing spaces (#1944)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch
Applying: Fix clang wrapper paths containing spaces
Using index info to reconstruct a base tree...
M eng/clang-wrapper.sh
Falling back to patching base and 3-way merge...
Auto-merging eng/clang-wrapper.sh
CONFLICT (content): Merge conflict in eng/clang-wrapper.sh
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Fix clang wrapper paths containing spaces
Error: The process '/usr/bin/git' failed with exit code 128 |
akoeplinger
pushed a commit
that referenced
this pull request
Oct 13, 2026
Co-authored-by: Copilot <[email protected]> Co-authored-by: agocke <[email protected]>
akoeplinger
added a commit
that referenced
this pull request
Oct 17, 2026
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.
The shipped
clangandclang++wrappers fail when installed under a path containing spaces: unquoted$0is split beforedirnameresolves the compiler directory."$0"ineng/clang-wrapper.sh:CLANG_CC=$(dirname "$0")/clang-23