Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom glibc build support for DCE on Ubuntu 20.04 #117

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ParthPratim
Copy link
Contributor

@ParthPratim ParthPratim commented Jun 16, 2021

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

_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 <[email protected]>
Signed-off-by: Parth Pratim Chatterjee <[email protected]>
…se linker script py 2 to 3

Signed-off-by: Parth Pratim Chatterjee <[email protected]>
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant