update musl from v1.2.3 to v1.2.4 #16098
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
andNxDomain
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
toCFLAGS
, 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 instrverscmp
, and several rare race-condition corner cases in thread synchronization logic at thread exit time, in multi-threadedfork
,pthread_detach
, and POSIX semaphores.source