-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[breaking change] Cleanup linux and update MUSL #1365
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
Conversation
@gnzlbg: no appropriate reviewer found, use r? to override |
So IPV6_FLOWINFO is here: https://elixir.bootlin.com/linux/v5.0/source/include/uapi/linux/in6.h#L165 |
ah, duh, it appears that these are only included if the linux headers are included first -.- |
I don't fully understand libc testsuite, it's a bit complicated for newcomer. |
4254d59
to
04b7312
Compare
☔ The latest upstream changes (presumably #1346) made this pull request unmergeable. Please resolve the merge conflicts. |
ccca614
to
088a772
Compare
I think the current way things are structured is quite weird, but maybe that's life. For example, we have linux as a platform, and then So i'm tending towards just splitting the linux module into two modules: musl, and gnu, moving mips and s390x into the gnu submodule. If |
Seems reasonable, chances for any other Linux libc to be fully compatible with |
cc @asomers @alexcrichton - this enables most of the previously skipped tests on MUSL, fixing a couple of issues. Some of the breaking changes, like The only real breaking change is the argument type of |
@bors: r+ |
📌 Commit 1a3d152 has been approved by |
[breaking change] Cleanup linux and update MUSL * Update MUSL kernel headers to 4.4.2 (non-breaking) * [breaking] `MADV_SOFT_OFFLINE` is not defined on MIPS * [breaking] `sendmmsg`/`recvmmsg` take an `unsigned int` flag on MUSL * [breaking] `pthread_t` is a pointer on MUSL * `rlimit` resources should use a type alias on GNU (non-breaking) * Deprecate `SIGNUNUSED` (should use SIGSYS instead)
☀️ Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-travis, status-appveyor |
Compilation for
|
That's a nix error, that constant is not available on MIPS on any released Linux kernel. |
libc just undefined MADV_SOFT_OFFLINE on mips. rust-lang/libc#1365 Fixes nix-rust#1074
libc just undefined MADV_SOFT_OFFLINE on mips. rust-lang/libc#1365 Fixes nix-rust#1074
libc just undefined MADV_SOFT_OFFLINE on mips. rust-lang/libc#1365 Fixes #1074
libc just undefined MADV_SOFT_OFFLINE on mips. rust-lang/libc#1365 Fixes #1074
libc just undefined MADV_SOFT_OFFLINE on mips. rust-lang/libc#1365 Fixes #1074
MADV_SOFT_OFFLINE
is not defined on MIPSsendmmsg
/recvmmsg
take anunsigned int
flag on MUSLpthread_t
is a pointer on MUSLrlimit
resources should use a type alias on GNU (non-breaking)SIGNUNUSED
(should use SIGSYS instead)