-
Notifications
You must be signed in to change notification settings - Fork 427
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
Alpine linux (musl libc) fixes #557
base: master
Are you sure you want to change the base?
Conversation
Thanks for your contribution. Your contribution will go through a review process at VMware. The changes will probably be reviewed individually or in small groups. An update will be provided as the reviews are completed. |
What's the hold up on this? |
alternate patch for loff_t:
|
I don't think enabling |
Packagers will normally not want the -Werror compile option as it may break compilation depending on the platform specific warnings. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Use __GLIBC__ when testing for GNU libc specific things instead of assuming that __linux__ is GNU libc. This is needed for building with musl libc. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Use the configure script to test for struct time spec instead of trying to keep track of what platforms has it. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
The ALLPERMS and ACCESSPERMS defines are not specified in POSIX so assume it is not there instead of testing for specific implementations. This is needed for musl libc. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Test for various functions instead of trying to keep track of what platform and what version of the given platform has support for what. This should make it easier to port to currently unknown platforms and will solve the issue if a platform add support for a missing feature in the future. The features we test for are: - getifaddrs - getauxval - issetugid - __secure_getenv This is needed for musl libc. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
This is needed for musl libc. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
musl libc's system headers pulls in open-vm-tools' poll.h. To avoid this we rename poll.h to vm_poll.h. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
4df08f3
to
f4ced29
Compare
rebased the paches to solve the conflict with almalinux introduction (63abb4f) |
for the latest version, I have some extra fixes:
|
I don't think those changes are suitable for upstream. |
Would it make it easier to review this if I created a PR for each individual patch? |
I'm upstreaming a set of patches we have carried for alpine linux for a while.
I believe that buildroot, openwrt, gentoo, void linux and other musl libc based distros will benefit from those.