Something's wrong with ld-elf.so.1 when SYMVER_ENABLED=true
Alexander Kabaev
kabaev at gmail.com
Sat Apr 7 22:55:57 UTC 2007
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070407/006cb894/signature.pgp
More information about the freebsd-current
mailing list