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

selinux 3.6 fails to compile against latest versions of musl #426

Open
notmentaloutlaw opened this issue Mar 11, 2024 · 1 comment
Open

Comments

@notmentaloutlaw
Copy link

Since musl has removed references to "64" lines such as

struct stat64 sb;

Are no longer recognized as in a musl system everything is already 64 bit.

Instead it should look something like this

struct stat sb;

It would be great if you could support the newer versions of musl libc with this in mind. I have attached a patch, which I found from alpine sources, that does get it to compile even on my gentoo system.

musl-lfs64.txt

Hope this helps,

@notmentaloutlaw
Copy link
Author

notmentaloutlaw commented Mar 11, 2024

Obviously this fix will only benefit musl systems if just applied as is, which isn't beneficial. I would also like to bring attention to issue number #366 which provides a better solution.

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

No branches or pull requests

1 participant