NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/57625: ld.elf_so TLS test failures runing sparc userland on sparc64



>Number:         57625
>Category:       lib
>Synopsis:       ld.elf_so TLS test failures runing sparc userland on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 21 10:35:00 +0000 2023
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.8
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 10.99.8 NetBSD 10.99.8 (NELLY) #61: Tue Sep 19 11:12:43 CEST 2023 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/sparc64/compile/NELLY sparc
Architecture: sparc
Machine: sparc
>Description:

Running the /usr/tests/libexec/ld.elf_so tests with sparc (32bit) userland
on a sparc64 machine (with 64bit kernel) causes a few strange failures:

tc-start: 1695290440.90205, dynamic_abusedef
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x20054020 in defining library != 0x20086b58 in using library
tc-start: 1695290440.138512, dynamic_abusedefnoload
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x20054020 in defining library != 0x20086b58 in using library
tc-start: 1695290440.178795, dynamic_defabuse_eager
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:121: NULL != dlopen("libh_abuse_dynamic.so", 0): dlopen failed to detect static-then-dynamic abuse
tc-start: 1695290440.218224, dynamic_defabuse_lazy
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x20054020 in defining library != 0x20086b58 in using library
tc-start: 1695290440.418545, onlydef_dynamic_static_ctor
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:291: NULL != dlopen("libh_onlyuse_static.so", 0): dlopen failed to detect dynamic-then-static abuse
tc-start: 1695290440.481930, onlydef_dynamic_static_eager
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:309: NULL != dlopen("libh_onlyuse_static.so", 0): dlopen failed to detect dynamic-then-static abuse
tc-start: 1695290440.523443, onlydef_dynamic_static_lazy
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:331: pdynamic != pstatic: 0x20054020 in dynamic tls user != 0x20086b58 in static tls user
tc-start: 1695290440.563349, onlydef_static_dynamic_eager
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:356: pstatic != pdynamic: 0x20086b58 in static tls user != 0x20054020 in dynamic tls user
tc-start: 1695290440.604227, onlydef_static_dynamic_lazy
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:380: pstatic != pdynamic: 0x20086b58 in static tls user != 0x20054020 in dynamic tls user
tc-start: 1695290440.644337, static_abusedef
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x2008603c in defining library != 0x20054020 in using library
tc-start: 1695290440.695407, static_abusedefnoload
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x2008603c in defining library != 0x20054020 in using library
tc-start: 1695290440.735015, static_defabuse_eager
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x2008603c in defining library != 0x20054020 in using library
tc-start: 1695290440.773427, static_defabuse_lazy
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x2008603c in defining library != 0x20054020 in using library
tc-start: 1695290440.898330, static_usedef
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x2008603c in defining library != 0x20086b58 in using library
tc-start: 1695290440.937654, static_usedefnoload
tc-se:*** Check failed: /work/src/tests/libexec/ld.elf_so/t_tls_extern.c:79: pdef != puse: 0x2008603c in defining library != 0x20086b58 in using library


while with sparc userland on a 32bit sparc machine all tests work:

Summary for 11 test programs:
    44 passed test cases.
    0 failed test cases.
    0 expected failed test cases.
    0 skipped test cases.



>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index