-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
All pthread_attr_* support #311
Conversation
ba8e4f6
to
7adf823
Compare
uhm, 3 commit messages are wrong, I don't know |
Oh, good one, I'll fix those. |
7adf823
to
7b8c5f0
Compare
Are there any attributes supported by musl/glibc which would require additional ABI breaks? |
Just one, which is |
Shouldn't we add this now to prevent future ABI breaks? |
We could protect against future breaks by including a version number in the structs. Should we do that? |
Yeah, taking a second look at it it shouldn't be very difficult. So it should be added in this PR.
How does that work exactly? |
Alias the functions to something like |
Aliasing the functions doesn't necessarily help, it's the size of the struct that needs to be handled. We could add a version field to the struct (e.g., as first member) and let the initialization macros/functions set it to |
6c93f22
to
9fc18f0
Compare
9fc18f0
to
7adcff2
Compare
Is there anything else that needs to be in this PR? |
03c14a3
to
5022a50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but merging this as is would break Managarm's aarch64 port.
c3aeef5
to
a910c14
Compare
Backport of mlibc managarm#311 for x86_64 only! This will enter through abi-breaks on master, do not submit back into upstream! DO NOT MERGE BACK INTO MASTER!
Backport of mlibc managarm#311 for x86_64 only! This will enter through abi-breaks on master, do not submit back into upstream! DO NOT MERGE BACK INTO MASTER!
Backport of mlibc managarm#311 for x86_64 only! This will enter through abi-breaks on master, do not submit back into upstream! DO NOT MERGE BACK INTO MASTER!
Backport of mlibc managarm#311 for x86_64 only! This will enter through abi-breaks on master, do not submit back into upstream! DO NOT MERGE BACK INTO MASTER!
Fixes #253. Is an ABI break.