Skip to content

fix: Add -fPIC option for building C guests. #421

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

prydt
Copy link
Contributor

@prydt prydt commented Apr 16, 2025

I ran into an issue running just guests on Fedora 41, and adding the -fPIC option in the C flags fixes this.

Please let me know if I need to make any changes to this PR. Thank you.

@ludfjig ludfjig added the kind/bugfix For PRs that fix bugs label Apr 16, 2025
Copy link
Contributor

@ludfjig ludfjig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

I ran into an issue running `just guests` on Fedora 41, and adding the -fPIC option
in the C flags fixes this.

Signed-off-by: Pranoy Dutta <[email protected]>
@ludfjig ludfjig merged commit 34eb326 into hyperlight-dev:main Apr 16, 2025
43 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bugfix For PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants