<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jow/toolchain/glibc, branch main</title>
<subtitle>Staging tree of Jo-Philipp Wich</subtitle>
<id>https://git.openwrt.org/openwrt/staging/jow/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/jow/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/'/>
<updated>2024-05-04T18:03:47Z</updated>
<entry>
<title>toolchain: glibc: Update glibc 2.38 to recent HEAD</title>
<updated>2024-05-04T18:03:47Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2024-04-28T20:05:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=6b3195ae62091fc224500e50661ccdc9651376fc'/>
<id>urn:sha1:6b3195ae62091fc224500e50661ccdc9651376fc</id>
<content type='text'>
23514c72b7 syslog: Fix heap buffer overflow in __vsyslog_internal (CVE-2023-6246)
d0338312aa syslog: Fix heap buffer overflow in __vsyslog_internal (CVE-2023-6779)
d37c2b20a4 syslog: Fix integer overflow in __vsyslog_internal (CVE-2023-6780)
30e546d76e x86_64: Optimize ffsll function code size.
18876c9ff5 S390: Fix building with --disable-mutli-arch [BZ #31196]
6f68075869 sparc: Fix broken memset for sparc32 [BZ #31068]
0e383d2d4e sparc64: Remove unwind information from signal return stubs [BZ#31244]
aac57faf54 sparc: Fix sparc64 memmove length comparison (BZ 31266)
0c5e5bace5 sparc: Remove unwind information from signal return stubs [BZ #31244]
b09073e631 arm: Remove wrong ldr from _dl_start_user (BZ 31339)
506e47da1d malloc: Use __get_nprocs on arena_get2 (BZ 30945)
ee4806e978 S390: Do not clobber r7 in clone [BZ #31402]
5753cda1ca linux: Use rseq area unconditionally in sched_getcpu (bug 31479)
0518bb0c16 LoongArch: Correct {__ieee754, _}_scalb -&gt; {__ieee754, _}_scalbf
5456ff5d80 Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h
d8a2b56b4f AArch64: Add support for MOPS memcpy/memmove/memset
25b66e8c4a AArch64: Cleanup ifuncs
1521237c32 AArch64: Cleanup emag memset
156e44845f AArch64: Add memset_zva64
a08ff92294 AArch64: Remove Falkor memcpy
168ae58e6e aarch64: correct CFI in rawmemchr (bug 31113)
1bf17ce978 aarch64: fix check for SVE support in assembler
92da7c2cfe AArch64: Check kernel version for SVE ifuncs
20534f8176 powerpc: Fix ld.so address determination for PCREL mode (bug 31640)
e1135387de iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
61484011e7 sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)
78d9f91da6 login: Check default sizes of structs utmp, utmpx, lastlog
68bff88592 login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701)
decc9f504a nptl: Fix tst-cancel30 on kernels without ppoll_time64 support
29e20bd122 i386: ulp update for SSE2 --disable-multi-arch configurations
5968aebb86 CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache (bug 31677)
541ea5172a CVE-2024-33600: nscd: Do not send missing not-found response in addgetnetgrentX (bug 31678)
2ae9446c1b CVE-2024-33600: nscd: Avoid null pointer crashes after notfound response (bug 31678)
71af8ca864 CVE-2024-33601, CVE-2024-33602: nscd: netgroup: Use two buffers in addgetnetgrentX (bug 31680)
e9f05fa1c6 elf: Also compile dl-misc.os with $(rtld-early-cflags)

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: update to glibc 2.38</title>
<updated>2024-04-29T20:55:02Z</updated>
<author>
<name>Kazuki H</name>
</author>
<published>2023-12-22T14:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=5ee2b6fe57857ca479f86a778811ecb3230e3e83'/>
<id>urn:sha1:5ee2b6fe57857ca479f86a778811ecb3230e3e83</id>
<content type='text'>
This updates glibc to version 2.38.

Add --enable-crypt since the crypt function got disabled in 2.38, but we
still need it.
Also add the newly introduced --enable-fortify-source flag and hook it up
to the build system.

Switch to .zst archive while at it.

Signed-off-by: Kazuki H &lt;kazukih0205@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/14259
[ switch to .zst and fix mirror HASH ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Update glibc 2.37 to recent HEAD</title>
<updated>2024-02-10T11:52:09Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2024-02-07T20:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=2ef5714277ce32d0dc7d59e59f20591004f070c4'/>
<id>urn:sha1:2ef5714277ce32d0dc7d59e59f20591004f070c4</id>
<content type='text'>
512e30fd56 Revert "elf: Remove unused l_text_end field from struct link_map"
55d3dfadf8 Revert "elf: Always call destructors in reverse constructor order (bug 30785)"
8e20aedfd7 Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
5014fb12f4 elf: Fix wrong break removal from 8ee878592c
874d418697 elf: Fix TLS modid reuse generation assignment (BZ 29039)
8bd00f5b6d x86-64: Fix the dtv field load for x32 [BZ #31184]
d052665f35 x86-64: Fix the tcb field load for x32 [BZ #31185]
0ca9ba3a9e NEWS: Mention bug fixes for 29039/30745/30843
9b90e763db getaddrinfo: translate ENOMEM to EAI_MEMORY (bug 31163)
bd9f194c34 libio: Check remaining buffer size in _IO_wdo_write (bug 31183)
8b8a3f0aaf sunrpc: Fix netname build with older gcc
97a4292aa4 syslog: Fix heap buffer overflow in __vsyslog_internal (CVE-2023-6246)
67062eccd9 syslog: Fix heap buffer overflow in __vsyslog_internal (CVE-2023-6779)
2b58cba076 syslog: Fix integer overflow in __vsyslog_internal (CVE-2023-6780)
1d8bb622df i386: Use pthread_barrier for synchronization on tst-bz21269
32450f6e8d sysdeps: tst-bz21269: fix test parameter
f7e97cea20 sysdeps: tst-bz21269: handle ENOSYS &amp; skip appropriately
d97929eadc sysdeps: tst-bz21269: fix -Wreturn-type
5bbe7e0da5 x86_64: Optimize ffsll function code size.
98ec3e004e sparc: Fix broken memset for sparc32 [BZ #31068]
2ce7abef67 sparc64: Remove unwind information from signal return stubs [BZ#31244]
18da90677c sparc: Fix sparc64 memmove length comparison (BZ 31266)
8b849f70b3 sparc: Remove unwind information from signal return stubs [BZ #31244]
eee7525d35 arm: Remove wrong ldr from _dl_start_user (BZ 31339)

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: add --enable-stack-protector=all option for glibc</title>
<updated>2024-01-19T20:28:53Z</updated>
<author>
<name>Cedric DOURLENT</name>
</author>
<published>2024-01-18T09:17:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=34fd41a99784b5d0f281d3c7053ec27f0dedca39'/>
<id>urn:sha1:34fd41a99784b5d0f281d3c7053ec27f0dedca39</id>
<content type='text'>
Add missing configurition for glibc based on CONFIG_PKG_CC_STACKPROTECTOR_ALL

Signed-off-by: Cedric DOURLENT &lt;cedric.dourlent@softathome.com&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Update glibc 2.37 to recent HEAD</title>
<updated>2023-10-08T12:05:12Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-10-07T10:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=e66eed033f9f9d27fc839d81d3a03d4fad1b9b5b'/>
<id>urn:sha1:e66eed033f9f9d27fc839d81d3a03d4fad1b9b5b</id>
<content type='text'>
This adds the following changes:
b4f76ecc9e Ignore MAP_VARIABLE in tst-mman-consts.py
f5d377c896 __check_pf: Add a cancellation cleanup handler [BZ #20975]
0e3e9dbb0e Document BZ #20975 fix
e2974d26ce io: Fix record locking contants on 32 bit arch with 64 bit default time_t (BZ#30477)
3593050c27 io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64
8dcb1a5181 hppa: xfail debug/tst-ssp-1 when have-ssp is yes (gcc-12 and later)
0930ff8eb3 realloc: Limit chunk reuse to only growing requests [BZ #30579]
3f4b4e2cdd elf: _dl_find_object may return 1 during early startup (bug 30515)
260d4b742b nptl: Fix tst-cancel30 on sparc64
58f7431fd7 sparc: Fix la_symbind for bind-now (BZ 23734)
1caf955269 x86: Increase `non_temporal_threshold` to roughly `sizeof_L3 / 4`
80a8c858a5 x86: Fix slight bug in `shared_per_thread` cache size calculation.
cc8243fb0b x86: Use `3/4*sizeof(per-thread-L3)` as low bound for NT threshold.
f94ff95e93 x86: Fix incorrect scope of setting `shared_per_thread` [BZ# 30745]
0d500bfdc0 hurd: Make exception subcode a long
be26b29262 io: Fix record locking contants for powerpc64 with __USE_FILE_OFFSET64
3d24d1903d elf: Do not run constructors for proxy objects
a7e34a6675 elf: Always call destructors in reverse constructor order (bug 30785)
bdb594afa5 elf: Remove unused l_text_end field from struct link_map
1a7cbe52c8 elf: Move l_init_called_next to old place of l_text_end in link map
b752934602 CVE-2023-4527: Stack read overflow with large TCP responses in no-aaaa mode
6529a7466c (HEAD) getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806)
79310b45af x86/dl-cacheinfo: remove unsused parameter from handle_amd
9d5c6e27ed x86: Fix for cache computation on AMD legacy cpus.
4473d1b87d Fix leak in getaddrinfo introduced by the fix for CVE-2023-4806 [BZ #30843]
94ef701365 Document CVE-2023-4806 and CVE-2023-5156 in NEWS
2dfd8c77b5 i686: Regenerate ulps
b4e23c75ae tunables: Terminate if end of input is reached (CVE-2023-4911)

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: assign PKG_CPE_ID</title>
<updated>2023-09-19T18:22:59Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2023-09-18T22:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=bcf02c5d3123a99c717ca33f1d7c6250acf0f33f'/>
<id>urn:sha1:bcf02c5d3123a99c717ca33f1d7c6250acf0f33f</id>
<content type='text'>
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining package which have a CPE ID.
Not every package has a CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Fix build with autoconf 2.71</title>
<updated>2023-05-18T16:55:27Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-05-17T22:31:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=76f241ad57da585d24f5fe56508f26780b8d885e'/>
<id>urn:sha1:76f241ad57da585d24f5fe56508f26780b8d885e</id>
<content type='text'>
The glibc build was failing with this error message:
  aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71
  aclocal.m4:6: the top level

The autoconf run on glibc is not needed, just remove it.

Fixes: #12631
Fixes: 030447b8f4c7 ("tools/autoconf: bump to 2.71")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: Update glibc 2.37 to recent HEAD</title>
<updated>2023-05-18T16:55:27Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-05-17T22:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=2b51688f358f965db7fae5308d1c677d9aad91e0'/>
<id>urn:sha1:2b51688f358f965db7fae5308d1c677d9aad91e0</id>
<content type='text'>
This adds the following changes:
790e504a17 stdlib: Undo post review change to 16adc58e73f3 [BZ #27749]
590d0e089b elf: Restore ldconfig libc6 implicit soname logic [BZ #30125]
1d63573f81 stdio-common: tests: don't double-define _FORTIFY_SOURCE
97ad4c64b9 gshadow: Matching sgetsgent, sgetsgent_r ERANGE handling (bug 30151)
9cc2f41e52 x86_64: Fix asm constraints in feraiseexcept (bug 30305)
78ab913eab posix: Fix system blocks SIGCHLD erroneously [BZ #30163]
5d750495db gmon: Fix allocated buffer overflow (bug 29444)
d230623264 gmon: improve mcount overflow handling [BZ# 27576]
ff3a71ec1f gmon: fix memory corruption issues [BZ# 30101]
a908c18d47 gmon: Revert addition of tunables to preserve GLIBC_PRIVATE ABI
7c32cb7dd8 gmon: Revert addition of tunables to the manual

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: glibc: increase min kernel version to 5.15</title>
<updated>2023-05-12T11:02:43Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2023-05-04T19:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=5bd7f04806d07a82e247220f2b825f4fcc43da9f'/>
<id>urn:sha1:5bd7f04806d07a82e247220f2b825f4fcc43da9f</id>
<content type='text'>
The purpose of this is to remove all of the compatibility code that is
normally compiled into glibc for kernels &lt; 5.15 from our build. Only
Linux kernels &gt;= 5.15 will be supported.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>toolchain/glibc: fixup the libm.so linker script too</title>
<updated>2023-02-19T18:44:39Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2023-01-30T09:55:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jow/commit/?id=81fd360a6331ccaaf85440f9d5e1c9ed66e25f6b'/>
<id>urn:sha1:81fd360a6331ccaaf85440f9d5e1c9ed66e25f6b</id>
<content type='text'>
Add it to the existing list to fix it up.

Found by mold:
toolchain-x86_64_gcc-12.2.0_glibc/lib/libm.so:4: GROUP ( /lib/libm.so.6  AS_NEEDED ( /lib/libmvec.so.1 ) )
                                                         ^ library not found: /lib/libm.so.6

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
</feed>
