Skip to content
New issue

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

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

Already on GitHub? # to your account

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

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

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

ghost opened this issue Mar 11, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 11, 2024

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,

@ghost
Copy link
Author

ghost 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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants