From owner-freebsd-arch@FreeBSD.ORG Sat Sep 7 11:06:50 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0A119333; Sat, 7 Sep 2013 11:06:50 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id BEBE72A47; Sat, 7 Sep 2013 11:06:49 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id E5FC84660; Sat, 7 Sep 2013 11:06:47 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id CBD71290FD; Sat, 7 Sep 2013 13:06:50 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: John Baldwin Subject: Re: /usr/lib/private References: <86zjrut4an.fsf@nine.des.no> <20130905100058.GR41229@kib.kiev.ua> <201309061017.00306.jhb@freebsd.org> Date: Sat, 07 Sep 2013 13:06:50 +0200 In-Reply-To: <201309061017.00306.jhb@freebsd.org> (John Baldwin's message of "Fri, 6 Sep 2013 10:17:00 -0400") Message-ID: <86d2okki0l.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Konstantin Belousov , Jonathan Anderson , freebsd-arch@freebsd.org 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: Sat, 07 Sep 2013 11:06:50 -0000 John Baldwin writes: > Would /usr/private/lib work without requiring rtld changes? Looks like > it would not. However, you could install a stock /etc/libmap32.conf=20 > that mapped /usr/lib/private or /usr/private/lib to the relevant 32-bit > path. The libmap.conf syntax does not currently permit mapping entire directories. I'm going to commit my patch as-is and hack rtld; gross as it is, I actually think it's the least intrusive change. This would have been much easier if we had variant symlinks :( DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no