[Bug 272992] Calling dl_iterate_phdr via dlopen/dlsym causes failure: ld-elf.so.1: Can't find module with TLS index 1
Date: Mon, 07 Aug 2023 07:30:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272992 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- This is expected outcome, since libc only provides stubs to satisfy the static linker. In the test program, change the "/lib/libc.so.7" path into RTLD_DEFAULT. It should work then. -- You are receiving this mail because: You are the assignee for the bug.