Skip to contentSkip to conversation

glibc: stable 2.40 branch updates

PATCH In review [email protected] 2 participants 8 messages Sep 25, 2024 – Oct 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc: stable 2.40 branch updates

From: Deepthi Hemraj <[email protected]>

Below commits on glibc-2.40 stable branch are updated.
7073164add libio: Attempt wide backup free only for non-legacy code adfb14e71f debug: Fix read error handling in pcprofiledump
f4a9b6e97b elf: Fix tst-dlopen-tlsreinit1.out test dependency
f496b750f1 elf: Avoid re-initializing already allocated TLS in dlopen (bug 31717) b7edcfa0f4 elf: Clarify and invert second argument of _dl_allocate_tls_init 3414b17e9d nptl: Use <support/check.h> facilities in tst-setuid3
3b3350d7ba posix: Use <support/check.h> facilities in tst-truncate and tst-truncate64 e24902f409 ungetc: Fix backup buffer leak on program exit [BZ #27821] dac7a0694b ungetc: Fix uninitialized read when putting into unused streams [BZ #27821] 2f749d2b15 Make tst-ungetc use libsupport
27fb563bfe stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650] bc240ba7c8 support: Add FAIL test failure helper
709319f9de string: strerror, strsignal cannot use buffer after dlmopen (bug 32026) 586e4cd8c6 Define __libc_initial for the static libc
c0af0c2ba0 x86: Fix bug in strchrnul-evex512 [BZ #32078]
898f25e0b1 x32/cet: Support shadow stack during startup for Linux 6.10 e3556937c2 x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
39ee60a719 support: Add options list terminator to the test driver 5641780762 manual/stdio: Further clarify putc, putwc, getc, and getwc 6a97e2ba14 Fix name space violation in fortify wrappers (bug 32052) aa533d58ff x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047) 928769737c resolv: Fix tst-resolv-short-response for older GCC (bug 32042) ca53bc68ab Add mremap tests
2eb2d78ca7 mremap: Update manual entry
3433a35842 linux: Update the mremap C implementation [BZ #31968]
46f19b2342 Enhanced test coverage for strncmp, wcsncmp
509166c9a5 Enhance test coverage for strnlen, wcsnlen
132a72f93c manual: make setrlimit() description less ambiguous
65fbcfe589 manual/stdio: Clarify putc and putwc
5d2a931a81 malloc: add multi-threaded tests for aligned_alloc/calloc/malloc 2aebac5e15 malloc: avoid global locks in tst-aligned_alloc-lib.c
145b588637 Fix version number in NEWS file
b6aeba2de1 manual: Do not mention STATIC_TLS in dynamic linker hardening recommendations ef14142663 resolv: Do not wait for non-existing second DNS response after error (bug 30081) 8bbb8d7b16 resolv: Allow short error responses to match any query (bug 31890)

---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
index 61996781bd..c8614e3c60 100644
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.40/master"
 PV = "2.40+git"
-SRCREV_glibc ?= "6daa77104520ca992a9369bd01cccd4d98c82984"
+SRCREV_glibc ?= "7073164add3b874cf0c19ca0fb84236f6bb0985d"
 SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
Signature · 1 line
2.43.0
#1 lore raw

looks ok. Have you run tests on it?

Quoted 69 lines · Deepthi via lists.openembedded.org

From: Deepthi Hemraj <[email protected]>

Below commits on glibc-2.40 stable branch are updated.
7073164add libio: Attempt wide backup free only for non-legacy code adfb14e71f debug: Fix read error handling in pcprofiledump
f4a9b6e97b elf: Fix tst-dlopen-tlsreinit1.out test dependency
f496b750f1 elf: Avoid re-initializing already allocated TLS in dlopen (bug 31717) b7edcfa0f4 elf: Clarify and invert second argument of _dl_allocate_tls_init 3414b17e9d nptl: Use <support/check.h> facilities in tst-setuid3
3b3350d7ba posix: Use <support/check.h> facilities in tst-truncate and tst-truncate64 e24902f409 ungetc: Fix backup buffer leak on program exit [BZ #27821] dac7a0694b ungetc: Fix uninitialized read when putting into unused streams [BZ #27821] 2f749d2b15 Make tst-ungetc use libsupport
27fb563bfe stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650] bc240ba7c8 support: Add FAIL test failure helper
709319f9de string: strerror, strsignal cannot use buffer after dlmopen (bug 32026) 586e4cd8c6 Define __libc_initial for the static libc
c0af0c2ba0 x86: Fix bug in strchrnul-evex512 [BZ #32078]
898f25e0b1 x32/cet: Support shadow stack during startup for Linux 6.10 e3556937c2 x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
39ee60a719 support: Add options list terminator to the test driver 5641780762 manual/stdio: Further clarify putc, putwc, getc, and getwc 6a97e2ba14 Fix name space violation in fortify wrappers (bug 32052) aa533d58ff x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047) 928769737c resolv: Fix tst-resolv-short-response for older GCC (bug 32042) ca53bc68ab Add mremap tests
2eb2d78ca7 mremap: Update manual entry
3433a35842 linux: Update the mremap C implementation [BZ #31968]
46f19b2342 Enhanced test coverage for strncmp, wcsncmp
509166c9a5 Enhance test coverage for strnlen, wcsnlen
132a72f93c manual: make setrlimit() description less ambiguous
65fbcfe589 manual/stdio: Clarify putc and putwc
5d2a931a81 malloc: add multi-threaded tests for aligned_alloc/calloc/malloc 2aebac5e15 malloc: avoid global locks in tst-aligned_alloc-lib.c
145b588637 Fix version number in NEWS file
b6aeba2de1 manual: Do not mention STATIC_TLS in dynamic linker hardening recommendations ef14142663 resolv: Do not wait for non-existing second DNS response after error (bug 30081) 8bbb8d7b16 resolv: Allow short error responses to match any query (bug 31890)

---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-version.inc +1 -2
index 61996781bd..c8614e3c60 100644
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.40/master"
 PV = "2.40+git"
-SRCREV_glibc ?= "6daa77104520ca992a9369bd01cccd4d98c82984"
+SRCREV_glibc ?= "7073164add3b874cf0c19ca0fb84236f6bb0985d"
 SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204889): https://lists.openembedded.org/g/openembedded-core/message/204889
Mute This Topic: https://lists.openembedded.org/mt/108643422/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Testing was done and below are the results
*After update
* PASS - 4945
FAIL - 224
XPASS - 4
XFAIL - 16
UNSUPPORTED - 229

*Before update
* PASS - 4924
FAIL - 223
XPASS -4
XFAIL - 16
UNSUPPORTED - 229

Below is the new failure:
FAIL: malloc/tst-free-errno

#3 lore raw
Quoted 16 lines · Deepthi via lists.openembedded.org

Testing was done and below are the results
After update
PASS - 4945
FAIL - 224
XPASS - 4
XFAIL - 16
UNSUPPORTED - 229

Before update
PASS - 4924
FAIL - 223
XPASS -4
XFAIL - 16
UNSUPPORTED - 229

Quoted 2 lines

Below is the new failure:
FAIL: malloc/tst-free-errno

Is this passing in the existing version ?

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204952): https://lists.openembedded.org/g/openembedded-core/message/204952
Mute This Topic: https://lists.openembedded.org/mt/108643422/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

The test case malloc/tst-free-errno is an additional failure that was passing before the update but is now failing after the update.

#5 lore raw
Quoted 3 lines · Deepthi via lists.openembedded.org

The test case malloc/tst-free-errno is an additional failure that was passing before the update but is now failing after the update.

then its a regression if its not intermittent. Maybe worth digging a bit into this and root cause it.

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204969): https://lists.openembedded.org/g/openembedded-core/message/204969
Mute This Topic: https://lists.openembedded.org/mt/108643422/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw
In reply to Khem Raj

Hi Khem,

I analyzed the issue further by debugging it manually and observed that the testcase "malloc/tst-free-errno.c" passed as expected. Hence, I ran the testsuite again after the update and found that the issue was not reproduced anymore. Please find the following results after the update:
*After update*
PASS - 4946
FAIL - 223
XPASS - 4
XFAIL - 16
UNSUPPORTED - 229

*Before update
* PASS - 4924
FAIL - 223
XPASS - 4
XFAIL - 16
UNSUPPORTED - 229

#7 lore raw
Quoted 4 lines · Deepthi via lists.openembedded.org

Hi Khem,

I analyzed the issue further by debugging it manually and observed that the testcase "malloc/tst-free-errno.c" passed as expected. Hence, I ran the testsuite again after the update and found that the issue was not reproduced anymore.

Another intermittent issue it seems. For future I would suggest to do more than 1 run and save the logs, I also wonder what is the spec of VM on which these tests are running.

Quoted 23 lines

Please find the following results after the update:
After update
PASS - 4946
FAIL - 223
XPASS - 4
XFAIL - 16
UNSUPPORTED - 229

Before update
PASS - 4924
FAIL - 223
XPASS - 4
XFAIL - 16
UNSUPPORTED - 229

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#205209): https://lists.openembedded.org/g/openembedded-core/message/205209
Mute This Topic: https://lists.openembedded.org/mt/108643422/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-