Custom glibc build support for DCE on Ubuntu 20.04#117
Open
ParthPratim wants to merge 6 commits intodirect-code-execution:masterfrom
Open
Custom glibc build support for DCE on Ubuntu 20.04#117ParthPratim wants to merge 6 commits intodirect-code-execution:masterfrom
ParthPratim wants to merge 6 commits intodirect-code-execution:masterfrom
Conversation
46e7e97 to
a2f3061
Compare
_G_config.h header file is not included in standard headers of Ubuntu-20.04, which defines _G_va_list. _IO_getc and _IO_putc are not a part of the libc-2.31, leading to missing symbols error. To fix it, extern(s) have been defined in case an executable linked with a libc supporting it is used, or if user provides an implementation for the same. Signed-off-by: Parth Pratim Chatterjee <parth27official@gmail.com>
Signed-off-by: Parth Pratim Chatterjee <parth27official@gmail.com>
…se linker script py 2 to 3 Signed-off-by: Parth Pratim Chatterjee <parth27official@gmail.com>
Signed-off-by: Parth Pratim Chatterjee <parth27official@gmail.com>
a2f3061 to
58e0ea1
Compare
Check if the custom glibc install directory passed with --with-glibc exists or not. Also, move the checks to the top of def configure(), to avoid any compiler checks in case wrong glibc location is passed. Signed-off-by: Parth Pratim Chatterjee <parth27official@gmail.com>
Signed-off-by: Parth Pratim Chatterjee <parth27official@gmail.com>
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.
PR in response to issue #110 and #57
This PR was made as a part of Google Summer of Code 2021 for the project Direct Code Execution Modernization