bug fix: ldd silent about missing dll dependencies#21
Open
jannick0 wants to merge 2 commits intomsys2:msys2-3_1_7-releasefrom
Open
bug fix: ldd silent about missing dll dependencies#21jannick0 wants to merge 2 commits intomsys2:msys2-3_1_7-releasefrom
jannick0 wants to merge 2 commits intomsys2:msys2-3_1_7-releasefrom
Conversation
This commit should ensure that if a dll dependency is not found - it is shown in the list marked with 'not found' - LDD returns with exit code 1 * winsup/utils/ldd.cc: - enhance debug event EXIT_PROCESS_DEBUG_EVENT
* winsup/utils/ldd.cc: here.
Collaborator
|
Is this maybe addressing bugs in Cygwin directly? |
Author
|
Yes - see 2.) above. |
Collaborator
I won't have the time (and even if I had the time, I don't like to be treated like a convenience, so I'll decline). |
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.
As of now
lddis silent about missing dll dependencies - and it always returns with0, regardless if all dll dependencies are found or not.With the commits kept as minimal as possible, the PR fixes:
not found(dll dependencies on a dll which is not found are still not listed, of course)lddreturns with exit code1if not all dll dependencies are found.This bug is a bit painful per se - and, in particular, for the CI function
list_dll_depsinci-library.shof the MSYS and MINGW repos:list_dll_depscould be amended, e.g.,Cygwin. In case one of you guys think this should be patched upstream, please go ahead. I am not really involved with the cygwin infrastructure I must admit. Thanks.I hope this PR sits on the correct branch of the repo. This is my first PR here.