glibc: stable 2.39 branch updates
PATCH v2 1/1 glibc: stable 2.39 branch updates
From: Deepesh Varatharajan <[email protected]>
git log --oneline b027d5b145f1b2908f370bdb96dfe40180d0fcb6..58cbbd43fe82910cf8ae9008351b0b0665104500
58cbbd43fe (HEAD -> release/2.39/master, origin/release/2.39/master) x86: Detect Intel Nova Lake Processor 835b1e3379 x86: Detect Intel Wildcat Lake Processor765534258e nss: Group merge does not react to ERANGE during merge (bug 33361)7ce7b4b2f4 Rename new tst-sem17 test to tst-sem18a6ac06abeb Avoid uninitialized result in sem_open when file does not existff6ce67220 elf: handle addition overflow in _dl_find_object_update_1 [BZ #32245] fffc2df8a3 Optimize __libc_tsd_* thread variable access83340b35cc i386: Add GLIBC_ABI_GNU_TLS version [BZ #33221]5541edb1bd i386: Also add GLIBC_ABI_GNU2_TLS version [BZ #33129]1f17635507 debug: Fix tst-longjmp_chk3 build failure on Hurd3b6c8ea878 debug: Wire up tst-longjmp_chk389596f46e3 i386: Update ___tls_get_addr to preserve vector registers4c2509882f elf: Preserve _rtld_global layout for the release branchcf0e7d512d elf: Compile _dl_debug_state separately (bug 33224)5cd1f4b1a1 elf: Restore support for _r_debug interpositions and copy relocations 97017da5ef elf: Introduce _dl_debug_change_state5601ad79b7 elf: Introduce separate _r_debug_array variable24c94ea84e elf: Test dlopen (NULL, RTLD_LAZY) from an ELF constructor79d84b5da5 elf: Fix handling of symbol versions which hash to zero (bug 29190)5f5c411132 elf: Second ld.so relocation only if libc.so has been loaded4c9b1877fd elf: Reorder audit events in dlcose to match _dl_fini (bug 32066)f407a14ff7 elf: Call la_objclose for proxy link maps in _dl_fini (bug 32065)e27601b385 elf: Signal la_objopen for the proxy link map in dlmopen (bug 31985) fef226255d elf: Add the endswith function to <endswith.h>d21a217fa0 elf: Update DSO list, write audit log to elf/tst-audit23.out4f145bb35d elf: Switch to main malloc after final ld.so self-relocation65d86471ce elf: Introduce _dl_relocate_object_no_relro5434cc2c41 elf: Do not define consider_profiling, consider_symbind as macrosb2d8c6cbe7 elf: rtld_multiple_ref is always true2b89de7c91 Revert "elf: Run constructors on cyclic recursive dlopen (bug 31986)" 46e3ecad27 elf: Fix map_complete Systemtap probe in dl_open_worker5f225025db elf: Signal RT_CONSISTENT after relocation processing in dlopen (bug 31986) d6cc325fcf elf: Signal LA_ACT_CONSISTENT to auditors after RT_CONSISTENT switch 6917fde6f9 elf: Run constructors on cyclic recursive dlopen (bug 31986)9fa7cc6a0b ldconfig: Move endswithn into a new header file269e89bd8d x86-64: Add GLIBC_ABI_DT_X86_64_PLT [BZ #33212]62ff85fd09 x86-64: Add GLIBC_ABI_GNU2_TLS version [BZ #33129]f0e8d04eef libio: Test for fdopen memory leak without SEEK_END support (bug 31840) 42a8cb7560 Remove memory leak in fdopen (bug 31840)d1c1f78e9e math: Remove no-mathvec flag20d2d69a2f Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234] c11950503f ctype: Fallback initialization of TLS using relocations (bug 19341, bug 32483) 25c537c3b3 Use proper extern declaration for _nl_C_LC_CTYPE_{class,toupper,tolower} fbdf9680cc Remove <libc-tsd.h>fca5937510 ctype: Reformat Makefile.49f0e73fa3 elf: Handle ld.so with LOAD segment gaps in _dl_find_object (bug 31943) 64488b4b31 elf: Extract rtld_setup_phdr function from dl_main9833fcf7ce elf: Do not add a copy of _dl_find_object to libc.sofbade65338 arm: Use _dl_find_object on __gnu_Unwind_Find_exidx (BZ 31405)392e6cf1e8 AArch64: Improve codegen in SVE log1p3a78a276a3 AArch64: Optimize inverse trig functionsb6ea8902a7 AArch64: Avoid memset ifunc in cpu-features.c [BZ #33112]
Testing Results:
Before After Diff PASS 5080 5099 +19 XPASS 4 4 0 FAIL 119 120 +1 XFAIL 16 16 0 UNSUPPORTED 154 154 0
Testcases changes
testcase-name before after
debug/tst-longjmp_chk3(new) - PASS elf/check-dt-x86-64-plt(new) - PASS elf/check-gnu2-tls(new) - PASS lf/tst-dlmopen4-nonpic(new) - PASS elf/tst-dlmopen4-pic(new) - PASS elf/tst-dlopen-auditdup(new) - PASS elf/tst-dlopen-constructor-null(new) - PASS elf/tst-link-map-contiguous-ldso(new) - PASS elf/tst-link-map-contiguous-libc(new) - PASS elf/tst-nolink-libc-1(new) - PASS elf/tst-nolink-libc-2(new) - PASS elf/tst-rtld-no-malloc(new) - PASS elf/tst-rtld-no-malloc-audit(new) - PASS elf/tst-rtld-no-malloc-preload(new) - PASS elf/tst-tls23(new) - PASS elf/tst-version-hash-zero(new) - PASS libio/tst-fdopen-seek-failure(new) - PASS libio/tst-fdopen-seek-failure-mem(new) - PASS nptl/tst-sem18(new) - PASS ctype/tst-ctype-tls-dlmopen(new) - FAIL ctype/tst-ctype-tls-dlopen-static(new) - FAIL stdio-common/tst-scanf-bz27650 FAIL PASS
elf/ifuncmain8 PASS -
--- meta/recipes-core/glibc/glibc-version.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +2 -2
@@ -1,7 +1,7 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "b027d5b145f1b2908f370bdb96dfe40180d0fcb6" -SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" +SRCREV_glibc ?= "58cbbd43fe82910cf8ae9008351b0b0665104500" +SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
Signature · 1 line
2.49.0
Quoted 83 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan <[email protected]>
git log --oneline
b027d5b145f1b2908f370bdb96dfe40180d0fcb6..58cbbd43fe82910cf8ae9008351b0b0665104500
58cbbd43fe(HEAD -> release/2.39/master, origin/release/2.39/master) x86: Detect Intel Nova Lake Processor835b1e3379x86: Detect Intel Wildcat Lake Processor765534258enss: Group merge does not react to ERANGE during merge (bug 33361)7ce7b4b2f4Rename new tst-sem17 test to tst-sem18a6ac06abebAvoid uninitialized result insem_openwhen file does not existff6ce67220elf: handle addition overflow in_dl_find_object_update_1[BZ #32245]fffc2df8a3Optimize __libc_tsd_* thread variable access83340b35cci386: AddGLIBC_ABI_GNU_TLSversion [BZ #33221]5541edb1bdi386: Also addGLIBC_ABI_GNU2_TLSversion [BZ #33129]1f17635507debug: Fix tst-longjmp_chk3 build failure on Hurd3b6c8ea878debug: Wire up tst-longjmp_chk389596f46e3i386: Update___tls_get_addrto preserve vector registers4c2509882felf: Preserve_rtld_globallayout for the release branchcf0e7d512delf: Compile_dl_debug_stateseparately (bug 33224)5cd1f4b1a1elf: Restore support for_r_debuginterpositions and copy relocations97017da5efelf: Introduce_dl_debug_change_state5601ad79b7elf: Introduce separate_r_debug_arrayvariable24c94ea84eelf: Test dlopen (NULL,RTLD_LAZY) from an ELF constructor79d84b5da5elf: Fix handling of symbol versions which hash to zero (bug 29190)5f5c411132elf: Second ld.so relocation only if libc.so has been loaded4c9b1877fdelf: Reorder audit events in dlcose to match_dl_fini(bug 32066)f407a14ff7elf: Callla_objclosefor proxy link maps in_dl_fini(bug 32065)e27601b385elf: Signalla_objopenfor the proxy link map in dlmopen (bug 31985)fef226255delf: Add the endswith function to <endswith.h>d21a217fa0elf: Update DSO list, write audit log to elf/tst-audit23.out4f145bb35delf: Switch to main malloc after final ld.so self-relocation65d86471ceelf: Introduce_dl_relocate_object_no_relro5434cc2c41elf: Do not defineconsider_profiling,consider_symbindas macrosb2d8c6cbe7elf:rtld_multiple_refis always true2b89de7c91Revert "elf: Run constructors on cyclic recursive dlopen (bug 31986)"46e3ecad27elf: Fixmap_completeSystemtap probe indl_open_worker5f225025dbelf: SignalRT_CONSISTENTafter relocation processing in dlopen (bug 31986)d6cc325fcfelf: SignalLA_ACT_CONSISTENTto auditors afterRT_CONSISTENTswitch6917fde6f9elf: Run constructors on cyclic recursive dlopen (bug 31986)9fa7cc6a0bldconfig: Move endswithn into a new header file269e89bd8dx86-64: AddGLIBC_ABI_DT_X86_64_PLT[BZ #33212]62ff85fd09x86-64: AddGLIBC_ABI_GNU2_TLSversion [BZ #33129]f0e8d04eeflibio: Test for fdopen memory leak withoutSEEK_ENDsupport (bug 31840)42a8cb7560Remove memory leak in fdopen (bug 31840)d1c1f78e9emath: Remove no-mathvec flag20d2d69a2fUse TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234]c11950503fctype: Fallback initialization of TLS using relocations (bug 19341, bug 32483)25c537c3b3Use proper extern declaration for _nl_C_LC_CTYPE_{class,toupper,tolower}fbdf9680ccRemove <libc-tsd.h>fca5937510ctype: ReformatMakefile.49f0e73fa3elf: Handle ld.so with LOAD segment gaps in_dl_find_object(bug 31943)64488b4b31elf: Extractrtld_setup_phdrfunction fromdl_main9833fcf7ceelf: Do not add a copy of_dl_find_objectto libc.sofbade65338arm: Use_dl_find_objecton__gnu_Unwind_Find_exidx(BZ 31405)392e6cf1e8AArch64: Improve codegen in SVE log1p3a78a276a3AArch64: Optimize inverse trig functionsb6ea8902a7AArch64: Avoid memset ifunc incpu-features.c[BZ #33112]Testing Results:
Before After Diff PASS 5080 5099 +19 XPASS 4 4 0 FAIL 119 120 +1 XFAIL 16 16 0 UNSUPPORTED 154 154 0Testcases changes
testcase-name before after
debug/tst-longjmp_chk3(new) - PASS elf/check-dt-x86-64-plt(new) - PASS elf/check-gnu2-tls(new) - PASS lf/tst-dlmopen4-nonpic(new) - PASS elf/tst-dlmopen4-pic(new) - PASS elf/tst-dlopen-auditdup(new) - PASS elf/tst-dlopen-constructor-null(new) - PASS elf/tst-link-map-contiguous-ldso(new) - PASS elf/tst-link-map-contiguous-libc(new) - PASS elf/tst-nolink-libc-1(new) - PASS elf/tst-nolink-libc-2(new) - PASS elf/tst-rtld-no-malloc(new) - PASS elf/tst-rtld-no-malloc-audit(new) - PASS
Quoted 8 lines
elf/tst-rtld-no-malloc-preload(new) - PASS elf/tst-tls23(new) - PASS elf/tst-version-hash-zero(new) - PASS libio/tst-fdopen-seek-failure(new) - PASS libio/tst-fdopen-seek-failure-mem(new) - PASS nptl/tst-sem18(new) - PASS ctype/tst-ctype-tls-dlmopen(new) - FAIL ctype/tst-ctype-tls-dlopen-static(new) - FAIL
Are these two test failures intermittent ?
Quoted 34 lines
stdio-common/tst-scanf-bz27650 FAIL PASS
elf/ifuncmain8 PASS -Signed-off-by Deepesh Varatharajan <[email protected]>--- meta/recipes-core/glibc/glibc-version.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-core/glibc/glibc-version.inc +2
-3@@ -1,7 +1,7 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "b027d5b145f1b2908f370bdb96dfe40180d0fcb6" -SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" +SRCREV_glibc ?= "58cbbd43fe82910cf8ae9008351b0b0665104500" +SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" --2.49.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#224769): https://lists.openembedded.org/g/openembedded-core/message/224769
Mute This Topic: https://lists.openembedded.org/mt/115731631/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 96 lines · Khem Raj
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 82 lines · Deepesh via lists.openembedded.org
From: Deepesh Varatharajan <[email protected]>
git log --oneline
b027d5b145f1b2908f370bdb96dfe40180d0fcb6..58cbbd43fe82910cf8ae9008351b0b0665104500
58cbbd43fe(HEAD -> release/2.39/master, origin/release/2.39/master) x86: Detect Intel Nova Lake Processor835b1e3379x86: Detect Intel Wildcat Lake Processor765534258enss: Group merge does not react to ERANGE during merge (bug 33361)7ce7b4b2f4Rename new tst-sem17 test to tst-sem18a6ac06abebAvoid uninitialized result insem_openwhen file does not existff6ce67220elf: handle addition overflow in_dl_find_object_update_1[BZ #32245]fffc2df8a3Optimize __libc_tsd_* thread variable access83340b35cci386: AddGLIBC_ABI_GNU_TLSversion [BZ #33221]5541edb1bdi386: Also addGLIBC_ABI_GNU2_TLSversion [BZ #33129]1f17635507debug: Fix tst-longjmp_chk3 build failure on Hurd3b6c8ea878debug: Wire up tst-longjmp_chk389596f46e3i386: Update___tls_get_addrto preserve vector registers4c2509882felf: Preserve_rtld_globallayout for the release branchcf0e7d512delf: Compile_dl_debug_stateseparately (bug 33224)5cd1f4b1a1elf: Restore support for_r_debuginterpositions and copy relocations97017da5efelf: Introduce_dl_debug_change_state5601ad79b7elf: Introduce separate_r_debug_arrayvariable24c94ea84eelf: Test dlopen (NULL,RTLD_LAZY) from an ELF constructor79d84b5da5elf: Fix handling of symbol versions which hash to zero (bug 29190)5f5c411132elf: Second ld.so relocation only if libc.so has been loaded4c9b1877fdelf: Reorder audit events in dlcose to match_dl_fini(bug 32066)f407a14ff7elf: Callla_objclosefor proxy link maps in_dl_fini(bug 32065)e27601b385elf: Signalla_objopenfor the proxy link map in dlmopen (bug 31985)fef226255delf: Add the endswith function to <endswith.h>d21a217fa0elf: Update DSO list, write audit log to elf/tst-audit23.out4f145bb35delf: Switch to main malloc after final ld.so self-relocation65d86471ceelf: Introduce_dl_relocate_object_no_relro5434cc2c41elf: Do not defineconsider_profiling,consider_symbindas macrosb2d8c6cbe7elf:rtld_multiple_refis always true2b89de7c91Revert "elf: Run constructors on cyclic recursive dlopen (bug 31986)"46e3ecad27elf: Fixmap_completeSystemtap probe indl_open_worker5f225025dbelf: SignalRT_CONSISTENTafter relocation processing in dlopen (bug 31986)d6cc325fcfelf: SignalLA_ACT_CONSISTENTto auditors afterRT_CONSISTENTswitch6917fde6f9elf: Run constructors on cyclic recursive dlopen (bug 31986)9fa7cc6a0bldconfig: Move endswithn into a new header file269e89bd8dx86-64: AddGLIBC_ABI_DT_X86_64_PLT[BZ #33212]62ff85fd09x86-64: AddGLIBC_ABI_GNU2_TLSversion [BZ #33129]f0e8d04eeflibio: Test for fdopen memory leak withoutSEEK_ENDsupport (bug 31840)42a8cb7560Remove memory leak in fdopen (bug 31840)d1c1f78e9emath: Remove no-mathvec flag20d2d69a2fUse TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234]c11950503fctype: Fallback initialization of TLS using relocations (bug 19341, bug 32483)25c537c3b3Use proper extern declaration for _nl_C_LC_CTYPE_{class,toupper,tolower}fbdf9680ccRemove <libc-tsd.h>fca5937510ctype: ReformatMakefile.49f0e73fa3elf: Handle ld.so with LOAD segment gaps in_dl_find_object(bug 31943)64488b4b31elf: Extractrtld_setup_phdrfunction fromdl_main9833fcf7ceelf: Do not add a copy of_dl_find_objectto libc.sofbade65338arm: Use_dl_find_objecton__gnu_Unwind_Find_exidx(BZ 31405)392e6cf1e8AArch64: Improve codegen in SVE log1p3a78a276a3AArch64: Optimize inverse trig functionsb6ea8902a7AArch64: Avoid memset ifunc incpu-features.c[BZ #33112]Testing Results:
Before After DiffPASS 5080 5099 +19 XPASS 4 4 0 FAIL 119 120 +1 XFAIL 16 16 0 UNSUPPORTED 154 154 0Testcases changes
testcase-name before after
debug/tst-longjmp_chk3(new) - PASS elf/check-dt-x86-64-plt(new) - PASS elf/check-gnu2-tls(new) - PASS lf/tst-dlmopen4-nonpic(new) - PASS elf/tst-dlmopen4-pic(new) - PASS elf/tst-dlopen-auditdup(new) - PASS elf/tst-dlopen-constructor-null(new) - PASS elf/tst-link-map-contiguous-ldso(new) - PASS elf/tst-link-map-contiguous-libc(new) - PASS elf/tst-nolink-libc-1(new) - PASS elf/tst-nolink-libc-2(new) - PASS elf/tst-rtld-no-malloc(new) - PASS elf/tst-rtld-no-malloc-audit(new) - PASSQuoted 8 lines
elf/tst-rtld-no-malloc-preload(new) - PASS elf/tst-tls23(new) - PASS elf/tst-version-hash-zero(new) - PASS libio/tst-fdopen-seek-failure(new) - PASS libio/tst-fdopen-seek-failure-mem(new) - PASS nptl/tst-sem18(new) - PASS ctype/tst-ctype-tls-dlmopen(new) - FAIL ctype/tst-ctype-tls-dlopen-static(new) - FAIL
Quoted 1 line
Are these two test failures intermittent ?
These two test case failures are from new testcases and these failure occur only within the Poky environment. They are consistently failing across the poky-master and all other Poky branches with the error seen below:
error: xdlmopen.c:28: error: dlmopen: /usr/lib/glibc-tests/ptest/tests/glibc-ptest/ctype/tst-ctype-tls-mod.so: cannot open shared object file: No such file or directory
error: xdlfcn.c:29: error: dlopen: /usr/lib/glibc-tests/ptest/tests/glibc-ptest/ctype/tst-ctype-tls-mod.so: cannot open shared object file: No such file or directory
We suspect that the failures may be related to the following local patch in Poky:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glibc/glibc/0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch?h=master
We have already begun analyzing this patch, which was originally introduced to address a specific reproducibility issue. As part of the investigation, we need to verify whether the patch is still necessary.
Our approach is to remove the patch from poky-master and evaluate its impact on reproducibility. If everything works correctly without the patch, we plan to remove it from master and backport the change to other branches. This should resolve the current test failures.
For now, these two test failures are expected here.
Regards,
Deepesh
Quoted 35 lines
Quoted 35 lines
stdio-common/tst-scanf-bz27650 FAIL PASS
elf/ifuncmain8 PASS -Signed-off-by Deepesh Varatharajan <[email protected]>--- meta/recipes-core/glibc/glibc-version.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta/recipes-core/glibc/glibc-version.inc +2
-3@@ -1,7 +1,7 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "b027d5b145f1b2908f370bdb96dfe40180d0fcb6" -SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" +SRCREV_glibc ?= "58cbbd43fe82910cf8ae9008351b0b0665104500" +SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" --2.49.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#224769): https://lists.openembedded.org/g/openembedded-core/message/224769
Mute This Topic: https://lists.openembedded.org/mt/115731631/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-