Re: Something's wrong with ld-elf.so.1 when SYMVER_ENABLED=true

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Sat, 7 Apr 2007 18:28:42 -0400
On Sun, 8 Apr 2007 00:55:49 +0300 (EEST)
Vladimir Kushnir <vkushnir_at_i.kiev.ua> wrote:

> Hi,
> Here's description. It's amd64-CURRENT. World was rebuilt last night
> (with SYMVER_ENABLED=true set in /etc/make.conf long ago). After 
> re-installation, sudenly everything's falling on its face with
> segfaults, with "pam_rootok.so not found", with "Can't allocate
> initial thread" and so on. After ld-elf.so.1 and ld-elf32.so.1 were
> replaced with old ones (from Jan 27 :-() everything went and still
> goes on with no problems.
> 
> Indeed, as simple listing (and strings) show, in new (installed => 
> stripped) ld-elf.so.1 (180 kB) vs old ld-elf.so.1.old (224 kB) lots
> of symbols (like _DYNAMIC or .rtld_start, for one) are just absent.
> 
> Regards,
> Vladimir
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"

SYMVER_ENABLED is an experimental feature. I suspect the new code in
rtld somehow prevents it from overriding dummy symbols in libc.
SYMVER_ENABLED changes in rtld are work in progress and until they are
finalized, you are on your own.


-- 
Alexander Kabaev
P.S. "Missing" symbols in rtld are intentional as all not important
symbols are not being suppressed by the symbol map file.

Received on Sat Apr 07 2007 - 20:55:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC