Skip to content

update musl from v1.2.3 to v1.2.4 #16098

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

Merged
merged 5 commits into from
Jun 21, 2023
Merged

update musl from v1.2.3 to v1.2.4 #16098

merged 5 commits into from
Jun 21, 2023

Conversation

andrewrk
Copy link
Member

@andrewrk andrewrk commented Jun 19, 2023

Musl v1.2.4 release notes

This release adds TCP fallback to the DNS stub resolver, fixing the longstanding inability to query large DNS records and incompatibility with recursive nameservers that don't give partial results in truncated UDP responses. It also makes a number of other bug fixes and improvements in DNS and related functionality, including making both the modern and legacy API results differentiate between NODATA and NxDomain conditions so that the caller can handle them differently.

On the API level, the legacy "LFS64" ("large file support") interfaces, which were provided by macros remapping them to their standard names (#define stat64 stat and similar) have been deprecated and are no longer provided under the _GNU_SOURCE feature profile, only under explicit _LARGEFILE64_SOURCE. The latter will also be removed in a future version. Builds broken by this change can be fixed short-term by adding -D_LARGEFILE64_SOURCE to CFLAGS, but should be fixed to use the standard interfaces.

The dynamic linker (and static-PIE entry point code) adds support for the new compact "RELR" format for relative relocations which recent linkers can generate. Use of this linker feature for dynamic-linked programs will make them depend on having musl 1.2.4 or later available at runtime. Static-linkied PIE binaries using it, as always, are self-contained and have no such dependency.

A large number of bugs have been fixed, including many in the wide printf family of functions, incorrect ordering of digits vs non-digits in strverscmp, and several rare race-condition corner cases in thread synchronization logic at thread exit time, in multi-threaded fork, pthread_detach, and POSIX semaphores.

source

@andrewrk andrewrk force-pushed the musl-v1.2.4 branch 2 times, most recently from eb7cf32 to 003188b Compare June 20, 2023 00:07
@andrewrk andrewrk enabled auto-merge June 20, 2023 00:15
@motiejus
Copy link
Contributor

nitpick: how about changing the subject to "update musl from v1.2.3 to v1.2.4"?

@andrewrk andrewrk changed the title update musl to v1.2.4 update musl from v1.2.3 to v1.2.4 Jun 20, 2023
@ifreund
Copy link
Member

ifreund commented Jun 20, 2023

Looks at a glance like the failing wasm test might be fixed by #16103

andrewrk added 5 commits June 20, 2023 12:55
musl uses "i386" for this while Zig has switched to "x86".
musl v1.2.4 dropped the "64"-suffixed aliases for legacy "LFS64" ("large
file support") interfaces, so this commit changes the corresponding Zig
logic to call the correct names.
@jacobly0 jacobly0 enabled auto-merge June 20, 2023 16:59
@jacobly0 jacobly0 merged commit e2eabbb into master Jun 21, 2023
@jacobly0 jacobly0 deleted the musl-v1.2.4 branch June 21, 2023 03:14
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

Successfully merging this pull request may close these issues.

4 participants