From 89baed0b93639180fd7d0ba922873b003649c7af Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 25 Aug 2022 18:46:41 +0200 Subject: Revert "Detect ld.so and libc.so version inconsistency during startup" This reverts commit 6f85dbf102ad7982409ba0fe96886caeb6389fef. Once this change hits the release branches, it will require relinking of all statically linked applications before static dlopen works again, for the majority of updates on release branches: The NEWS file is regularly updated with bug references, so the __libc_early_init suffix changes, and static dlopen cannot find the function anymore. While this ABI check is still technically correct (we do require rebuilding & relinking after glibc updates to keep static dlopen working), it is too drastic for stable release branches. Reviewed-by: Adhemerval Zanella --- sysdeps/generic/ldsodefs.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysdeps/generic/ldsodefs.h') diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 275dbc95ce..050a3032de 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -333,10 +333,6 @@ struct rtld_global its link map. */ struct link_map *libc_map; - /* __libc_early_init function in libc_map. Initialized at the - same time as libc_map. */ - void (*libc_map_early_init) (_Bool); - /* Search table for unique objects. */ struct unique_sym_table { -- cgit v1.2.3