svn commit: r293226 - head/libexec/rtld-elf

Konstantin Belousov kostikbel at gmail.com
Wed Jan 6 16:10:57 UTC 2016


On Tue, Jan 05, 2016 at 09:20:46PM +0000, Warner Losh wrote:
> Author: imp
> Date: Tue Jan  5 21:20:46 2016
> New Revision: 293226
> URL: https://svnweb.freebsd.org/changeset/base/293226
> 
> Log:
>   Disable abi variant hook until strangeness with packages can be sorted
>   out.
> 
> Modified:
>   head/libexec/rtld-elf/rtld.c
> 
> Modified: head/libexec/rtld-elf/rtld.c
> ==============================================================================
> --- head/libexec/rtld-elf/rtld.c	Tue Jan  5 21:12:49 2016	(r293225)
> +++ head/libexec/rtld-elf/rtld.c	Tue Jan  5 21:20:46 2016	(r293226)
> @@ -435,7 +435,7 @@ _rtld(Elf_Addr *sp, func_ptr_type *exit_
>  
>      trust = !issetugid();
>  
> -    md_abi_variant_hook(aux_info);
> +/*  md_abi_variant_hook(aux_info); */
>  
>      ld_bind_now = getenv(_LD("BIND_NOW"));
>      /* 
The ARM hook resets the default paths to the libsoft variants.  It cannot
work while /lib, /usr/lib and /usr/local/lib are populated with soft-fp
libraries.  I thought that you are going to switch the default target_arch
to armv6hf immediately after the commit to rtld.

And then, looking into the issue, IMO the way forward is to leave softfp
libraries where they are, but install v6hf somewhere in /lib/armv6hf etc.


More information about the svn-src-head mailing list