From owner-freebsd-arch@FreeBSD.ORG Fri Sep 6 14:46:40 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E6E7FB86 for ; Fri, 6 Sep 2013 14:46:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFE75227C for ; Fri, 6 Sep 2013 14:46:40 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B95E4B922; Fri, 6 Sep 2013 10:46:38 -0400 (EDT) From: John Baldwin To: freebsd-arch@freebsd.org Subject: Re: /usr/lib/private Date: Fri, 6 Sep 2013 10:17:00 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <86zjrut4an.fsf@nine.des.no> <20130905100058.GR41229@kib.kiev.ua> In-Reply-To: <20130905100058.GR41229@kib.kiev.ua> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201309061017.00306.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 06 Sep 2013 10:46:38 -0400 (EDT) Cc: Konstantin Belousov , Dag-Erling Sm??rgrav , Jonathan Anderson X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 14:46:41 -0000 On Thursday, September 05, 2013 6:00:58 am Konstantin Belousov wrote: > On Thu, Sep 05, 2013 at 08:41:29AM +0100, Jonathan Anderson wrote: > > Is there any reason not to make it /private/usr/lib (or > > /private/usr/lib/platform)? I could see us wanting a /private/usr/include > > in the future for e.g. LLVM/Clang headers that things in base (e.g. > > lldb) might use but whose stability we don't want to be responsible for. > > > The libraries (and headers) are not needed in the single-user mode, and > we are still trying to maintain the / and /usr split. Would /usr/private/lib work without requiring rtld changes? Looks like it would not. However, you could install a stock /etc/libmap32.conf that mapped /usr/lib/private or /usr/private/lib to the relevant 32-bit path. -- John Baldwin