<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/toolchain, branch mikrotik</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=mikrotik</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=mikrotik'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2022-02-01T20:25:02Z</updated>
<entry>
<title>toolchain: glibc: Remove patch for ARC700</title>
<updated>2022-02-01T20:25:02Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-01-29T12:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d438bdca5d04c168f8646f2091d180ee10febe2b'/>
<id>urn:sha1:d438bdca5d04c168f8646f2091d180ee10febe2b</id>
<content type='text'>
The ARC700 target was renoved, this patch is not needed any more.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: gdb: Update to version 11.2</title>
<updated>2022-02-01T20:25:02Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-01-29T10:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=782a4e00b7c04662212b4fd18d8236fc436d28ee'/>
<id>urn:sha1:782a4e00b7c04662212b4fd18d8236fc436d28ee</id>
<content type='text'>
This is a minor corrective release over GDB 11.1, fixing the following issues:
* PR sim/28302 (gdb fails to build with glibc 2.34)
* PR build/28318 (std::thread support configure check does not use CXX_DIALECT)
* PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed)
* PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
* PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
* PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
* PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
* PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>glibc: update to 2.34 HEAD</title>
<updated>2022-01-30T21:23:46Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2022-01-30T21:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3572c5a5da9dfd31ecc4096a8ba1c90683dba3e2'/>
<id>urn:sha1:3572c5a5da9dfd31ecc4096a8ba1c90683dba3e2</id>
<content type='text'>
72123e1b56 NEWS: Add a bug entry for BZ #28755
08beb3a3f4 x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]
b50d5b746c x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]
1b9cd6a721 NEWS: add bug entry for BZ #28769 and BZ #28770
3438bbca90 Linux: Detect user namespace support in io/tst-getcwd-smallbuff
d084965adc realpath: Avoid overwriting preexisting error (CVE-2021-3998)
472e799a5f getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999)
8c8a71c85f tst-realpath-toolong: Fix hurd build
f7a79879c0 realpath: Set errno to ENAMETOOLONG for result larger than PATH_MAX [BZ #28770]
73c362840c stdlib: Fix formatting of tests list in Makefile
269eb9d930 stdlib: Sort tests in Makefile
062ff490c1 support: Add helpers to create paths longer than PATH_MAX
82b1acd9de powerpc: Fix unrecognized instruction errors with recent binutils
1d401d1fcc x86: use default cache size if it cannot be determined [BZ #28784]
6890b8a3ae CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug 28768)
1081f1d3dd sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
7b5d433fd0 CVE-2022-23219: Buffer overflow in sunrpc clnt_create for "unix" (bug 22542)
5575daae50 socket: Add the __sockaddr_un_set function
03e6e02e6a Disable debuginfod in printer tests [BZ #28757]
705f1e4606 Update syscall lists for Linux 5.16
2fe2af88ab i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)
73558ffe84 Update syscall lists for Linux 5.15
e64235ff42 powerpc: Fix unrecognized instruction errors with recent GCC

Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/binutils: v2.37 Close the file descriptor if there is no archive fd</title>
<updated>2022-01-08T20:37:45Z</updated>
<author>
<name>Hirokazu MORIKAWA</name>
</author>
<published>2022-01-08T00:33:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8c501bf9feeaadfb9d950806a312b328baabddcb'/>
<id>urn:sha1:8c501bf9feeaadfb9d950806a312b328baabddcb</id>
<content type='text'>
This fixes the following build error:
/home/build/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-11.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/11.2.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/sergey/openwrt2/build_dir/target-aarch64_cortex-a53_musl/node-v14.18.2/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status

It's a bad error handling related to -EMFILE (too many open files). nodejs is probably just very close to open file limit.

https://sourceware.org/bugzilla/show_bug.cgi?id=28138
https://github.com/nodejs/node/issues/39452

https://github.com/openwrt/packages/issues/17496
https://github.com/openwrt/packages/issues/16729
https://github.com/openwrt/packages/issues/17164

Signed-off-by: Hirokazu MORIKAWA &lt;morikw2@gmail.com&gt;
[Take full patch from 2.37 branch and refresh]
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Enable --enable-bind-now</title>
<updated>2022-01-07T21:30:40Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-12-28T20:37:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=77df120bc8b220a79a8b158a457847d0d3d3c94b'/>
<id>urn:sha1:77df120bc8b220a79a8b158a457847d0d3d3c94b</id>
<content type='text'>
Enable --enable-bind-now when CONFIG_PKG_RELRO_FULL is set. This option
is activated by default. This will enable full RELRO protection.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Increase minimum kernel version to 5.4</title>
<updated>2022-01-07T21:30:40Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-12-28T20:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=1b251d36ef4e63385b48befe6ce80fcff57264e1'/>
<id>urn:sha1:1b251d36ef4e63385b48befe6ce80fcff57264e1</id>
<content type='text'>
Increase the minimum kernel version needed by the glibc compiled for
OpenWrt to version 5.4. With this setting the glibc build will remove
all code needed to support older kernel versions.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Update to version 2.34</title>
<updated>2022-01-07T21:30:40Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-12-28T20:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e708bf76d5a3d936228ae414f999cce36fd66d98'/>
<id>urn:sha1:e708bf76d5a3d936228ae414f999cce36fd66d98</id>
<content type='text'>
glibc version 2.34 does not provide versioned shared libraries any more,
it only provides shared libraries using the ABI version. Do not try to
copy them any more.

The functions from libpthread and librt were integrated into the main
binary, the libpthread.so and librt.so are only used for backwards
compatibility any more.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&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.openwrt.org/openwrt/staging/chunkeey/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/gcc: use ELFv2 ABI on ppc64 with musl</title>
<updated>2021-12-21T19:35:29Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2020-09-22T11:02:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=6e2556963d523ecef9a2a6130c899d146a3b7333'/>
<id>urn:sha1:6e2556963d523ecef9a2a6130c899d146a3b7333</id>
<content type='text'>
At configuration time, gcc assumes that ppc64be targets use the ELFv1
ABI, and ppc64le targets use the ELFv2 ABI. However, musl libc does not
support the ELFv1 ABI on ppc64 at all, regardless of the endianness.

Therefore, when building for a ppc64 arch and with musl libc, instruct
gcc to use the ELFv2 ABI.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93157 for more info.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Reviewed-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain/gcc: refresh gcc-11.2.0 patch</title>
<updated>2021-12-17T14:10:22Z</updated>
<author>
<name>Ilya Lipnitskiy</name>
</author>
<published>2021-12-08T01:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=f30e6d98fae79eb84af7acd497da4be862ee2b8f'/>
<id>urn:sha1:f30e6d98fae79eb84af7acd497da4be862ee2b8f</id>
<content type='text'>
Run make toolchain/gcc/minimal/refresh (with glibc, with musl
toolchain/gcc/{initial,final}/refresh don't work)

Fixes: ab241e0937c9 ("toolchain/gcc: fix build on MacOS arm64")

Signed-off-by: Ilya Lipnitskiy &lt;ilya.lipnitskiy@gmail.com&gt;
</content>
</entry>
</feed>
