<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ansuel/toolchain/musl, branch master</title>
<subtitle>Staging tree of Christian Marangi</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/ansuel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/'/>
<updated>2022-04-11T19:41:03Z</updated>
<entry>
<title>toolchain: musl: Update to version 1.2.3</title>
<updated>2022-04-11T19:41:03Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-04-10T22:11:51Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=685ae2687bd1b199dc83ee1e16d47c05afca6102'/>
<id>urn:sha1:685ae2687bd1b199dc83ee1e16d47c05afca6102</id>
<content type='text'>
Changes:
new features:
- qsort_r function (POSIX-future)
- pthread_getname_np extension function
- hard float on SPE FPU for powerpc-sf
- SEEK_DATA and SEEK_HOLE exposed in unistd.h (Linux extensions)

compatibility:
- free now preserves errno (POSIX-future requirement)
- setjmp is declared explicitly with returns_twice for non-GCC compilers
- macro version of isascii is no longer defined for C++
- dynamic linker now tolerates zero-length LOAD segments
- epoll_[p]wait is now a cancellation point
- pwd/grp functions no longer fail on systems without AF_UNIX support
- POSIX TZ parsing is stricter to allow more names to fallback to files
- NULL is now defined as nullptr when used in C++11 or later
- gettext now accepts null pointer as argument

bugs fixed:
- old regression in wcwidth of Hangul combining (vowel/final) letters
- duplocale used wrong malloc when malloc was replaced (1.2.2 regression)
- fmaf rounded wrong on archs without FE_TOWARDZERO (all softfloat archs)
- popen didn't honor requirement not to leak other popen pipe fds to child
- aligned_alloc and variants crashed on allocation failure
- dl_iterate_phdr reported incorrect module TLS pointers
- mishandling of some inputs in acoshf and expm1f and functions using them
- potentially wrong-sign zero in cproj functions at infinity
- multiple bugs in legacy function cuserid
- minor posix_spawn file actions API conformance issues
- pthread_setname_np fd leak
- out-of-bound read in zoneinfo handling with distant-past times
- out-of-tree builds lacked generated debug cfi for x86 asm

arch-specific bugs fixed:
- powerpc (32-bit) struct shmid_ds layout was wrong for some fields
- time64 struct layout was wrong in sound ioctl fallback (32-bit archs)

In addition it contains the following improvements:
* protect stack canary from leak via read-as-string by zeroing second byte
* fix excessively slow TLS performance on some mips models

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Acked-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
Tested-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
Tested-by: Koen Vandeputte &lt;koen.vandeputte@ncentric.com&gt;
</content>
</entry>
<entry>
<title>toolchain: musl: disable crypt size hack by default</title>
<updated>2021-12-27T10:26:32Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-12-14T11:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=66768755791286fc02a38d1b437a9da74290041d'/>
<id>urn:sha1:66768755791286fc02a38d1b437a9da74290041d</id>
<content type='text'>
Enable this option and thus re-include crypt() support for the SHA256,
SHA512 and Blowfish ciphers on all devices. According to commit
9365745f8e7b ("musl: add a hack to remove unused crypt() algorithms,
saves ~14k after lzma") it should add about ~14k to the resulting image,
which seems to be a reasonable size increase for consistent crypt()
support.

Decided to not remove this hack completely as it might be still useful
for people trying to fit custom images onto smaller devices and the
patch is rather simple so we can afford to keep it for now.

References: https://github.com/openwrt/openwrt/pull/1331
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>toolchain/musl: Remove extra format attribute patch</title>
<updated>2021-09-22T17:04:02Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-09-09T18:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=71e96532df211380b4d66b8cab709dea11d6dcf2'/>
<id>urn:sha1:71e96532df211380b4d66b8cab709dea11d6dcf2</id>
<content type='text'>
This patch never went upstream so remove it. GCC should already add such
a check to the common functions.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain/musl: remove several GNU headers</title>
<updated>2021-09-22T17:04:02Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-03-20T01:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=b519be1c522da3983277514a81dd83149737fbce'/>
<id>urn:sha1:b519be1c522da3983277514a81dd83149737fbce</id>
<content type='text'>
Remove GLOB_ONLYDIR patch. Only fstools relies on it. fstools has been
fixed separately.

Remove woresize.h file. It seems to be for an old version of GCC.

Remove features.h and glibc-types files. Same as above.

Remove sys/cdefs.h. This is a deprecated header. Patches to fix packages
that use it have already been patched.

Tested with all packages in the base tree. They all compile.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/musl: update to 1.2.2</title>
<updated>2021-09-22T17:04:02Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2020-03-20T01:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=aaec2ad13b18086e2aaf9ca9152827c50e578bc0'/>
<id>urn:sha1:aaec2ad13b18086e2aaf9ca9152827c50e578bc0</id>
<content type='text'>
This release introduces 64-bit time_t, which is needed to avoid the
year 2038 problem.

Remove upstream patches. Refreshed others.

Rebased features.h file based on latest musl.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: musl: refresh patches</title>
<updated>2020-12-02T22:38:42Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-12-02T21:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=a44a2f9e93a92304ee1b457aaa63ba8172a1135a'/>
<id>urn:sha1:a44a2f9e93a92304ee1b457aaa63ba8172a1135a</id>
<content type='text'>
Refresh the musl patches

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>musl: handle wcsnrtombs destination buffer overflow (CVE-2020-28928)</title>
<updated>2020-11-20T12:24:48Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-20T12:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=4d4ef1058c0f10aa2fa4070cd6b9db4d48b94148'/>
<id>urn:sha1:4d4ef1058c0f10aa2fa4070cd6b9db4d48b94148</id>
<content type='text'>
The wcsnrtombs function in all musl libc versions up through 1.2.1 has
been found to have multiple bugs in handling of destination buffer
size when limiting the input character count, which can lead to
infinite loop with no forward progress (no overflow) or writing past
the end of the destination buffera.

This function is not used internally in musl and is not widely used,
but does appear in some applications. The non-input-limiting form
wcsrtombs is not affected.

All users of musl 1.2.1 and prior versions should apply the attached
patch, which replaces the overly complex and erroneous implementation.
The upcoming 1.2.2 release will adopt this new implementation.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>musl: add common glibc extention for nftw</title>
<updated>2020-08-31T11:23:59Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2020-07-13T04:18:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=735947229c0e89fd714b3cded1e76ea9093827ed'/>
<id>urn:sha1:735947229c0e89fd714b3cded1e76ea9093827ed</id>
<content type='text'>
Add FTW_ACTIONRETVAL mode and update nftw library for walking file trees.
Update needed to build bpftool userspace utility from Linux kernel source.

Also increment PKG_RELEASE.

Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>musl: use official release tar</title>
<updated>2020-06-14T00:42:21Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2020-05-22T10:48:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=69e7d14e1b6e402c9970e6e8834c510f0b7ad836'/>
<id>urn:sha1:69e7d14e1b6e402c9970e6e8834c510f0b7ad836</id>
<content type='text'>
To prevent "wrong" musl packages which have a new version number
but the package still contains an old version, because
PKG_SOURCE_VERSION was unchanged.

Ref: musl ml https://www.openwall.com/lists/musl/2020/05/22/4

Reviewed-by: Petr Štetiar &lt;ynezz@true.cz&gt;
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>musl: restore lock skipping for mostly-singlethreaded programs, and related patches</title>
<updated>2020-05-26T21:45:17Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2020-05-23T19:17:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ansuel/commit/?id=afea16b8f752b3ccd3f66f9ac3890586d44cde69'/>
<id>urn:sha1:afea16b8f752b3ccd3f66f9ac3890586d44cde69</id>
<content type='text'>
The remainder of the patch series proposed by upstream [2] for the locking
synchronization issue [1].

[1] https://www.openwall.com/lists/musl/2020/05/22/3
[2] https://www.openwall.com/lists/musl/2020/05/22/10

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
</feed>
