From owner-svn-src-head@freebsd.org Wed Jan 6 17:01:28 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E52AA65743 for ; Wed, 6 Jan 2016 17:01:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x236.google.com (mail-qg0-x236.google.com [IPv6:2607:f8b0:400d:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3E2B124C for ; Wed, 6 Jan 2016 17:01:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x236.google.com with SMTP id b35so177035666qge.0 for ; Wed, 06 Jan 2016 09:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=70h4flNR7FPnQpv1DVV34yLgEdkxF75tFHz9TiMCU6c=; b=mMAxLNcvllloKBK/uhuAQA0Z/Fs4ZaV4H10/iNmkyF7ZB+4eKCdkVMUInZUl+rTIi9 bLBzYS9ZFIRnMPTM7Mj+7JDX0OPEQj2nG6iJNC0dWbTwZniksox9duro+DG7Hmk/fL1J xXmvTgei0GGVmXnHvYxilD+UBNSsX+bqWAXTZtDrXx/AGbgNky+K7bjawNsmPrldQuKj phJZ+HvE5+tvC4FRNGtxa4KVFiumPkj85t7kQByHx2/WgtUnCliFcb2y5LoaLwbnd15r zHLzaUWSZ3jysVBJE6wtwMtu+aUQcwMP2MzxXli1P1nnkr1aQozWN3kGbbA069y89CwH h21w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=70h4flNR7FPnQpv1DVV34yLgEdkxF75tFHz9TiMCU6c=; b=Ucarz7f0MoUsW9d7Yy3t70EQdB1/KwMQgEiRJ5rPgX14QM2EuIHTwG48GKc64TT5gO Q1579NPwkNRwVZMSGClQpbEe1mgTBKrI3dZvNqVSXxYlFuFobNW8NxY9zgQIBNQR+rr6 uS1Prc4DjcVzfEyPa1wLA64qsY2FQxjauizDI1nmoqEBT/6GvXV1rXRGLvy15dYAZtPJ zIlbOgaHf5HQkTjSNF9PKenHM3qYUsvMwIBVotYqieY7TF7qRmuyAKRTQFYaQpODQXc4 ZvmqId7K/NhdYl3GqH7m7irZuUNY1fVMltyGhyzWLKHVyQWhGpGPgwvfNMr7SWSHDkMQ Fexw== X-Gm-Message-State: ALoCoQn0GZM/oy0vV15S7KQbrJJn6ioRh0OKTwsO+deFaaYynDVDiToutbIU/fbTNaNwV+h5tmHmtJIymxflzHPOYEQzQ9i/EQ== MIME-Version: 1.0 X-Received: by 10.140.141.138 with SMTP id 132mr29597798qhn.74.1452099686455; Wed, 06 Jan 2016 09:01:26 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Wed, 6 Jan 2016 09:01:26 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <20160106161046.GP3625@kib.kiev.ua> References: <201601052120.u05LKkvv074874@repo.freebsd.org> <20160106161046.GP3625@kib.kiev.ua> Date: Wed, 6 Jan 2016 10:01:26 -0700 X-Google-Sender-Auth: KVUoYdMIKnz6vNAtD8ZJWDiI0p0 Message-ID: Subject: Re: svn commit: r293226 - head/libexec/rtld-elf From: Warner Losh To: Konstantin Belousov Cc: Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 17:01:28 -0000 On Wed, Jan 6, 2016 at 9:10 AM, Konstantin Belousov wrote: > 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. > That analysis isn't quite right. I'll throw the replacement switch very soon. The problem is that it highlighted was things were incomplete, not that I'd left soft float libraries where I did for a short period of time. > 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. > No. That's even worse. We're not doing that. Warner