From owner-svn-src-head@freebsd.org Tue Jan 12 04:14:47 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 27E66A6C719; Tue, 12 Jan 2016 04:14:47 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from d.mail.sonic.net (d.mail.sonic.net [64.142.111.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEBD2144C; Tue, 12 Jan 2016 04:14:46 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net (75-101-50-44.static.sonic.net [75.101.50.44]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id u0C4EbSO017313 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 11 Jan 2016 20:14:37 -0800 Subject: Re: svn commit: r293068 - in head/etc: . mtree To: Warner Losh , Brooks Davis References: <201601030432.u034W6en043633@repo.freebsd.org> <20160111221614.GC79262@spindle.one-eyed-alien.net> Cc: Dimitry Andric , Warner Losh , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Nathan Whitehorn Message-ID: <56947DAD.80106@freebsd.org> Date: Mon, 11 Jan 2016 20:14:37 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Sonic-CAuth: UmFuZG9tSVYNbGltiiGZBZ0uM/hq7g4N6vCWQnOELjJ/U2pAzkcdVIwR4NsYXxX5vrOiP0kJi3jt2C3zdkeL/HE9BgnsrRCCjrEYBX9NsG8= X-Sonic-ID: C;ahlQ/uK45RG2NPA4AoajKQ== M;uACn/uK45RG2NPA4AoajKQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd 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: Tue, 12 Jan 2016 04:14:47 -0000 On 01/11/16 19:11, Warner Losh wrote: >> On Jan 11, 2016, at 3:16 PM, Brooks Davis wrote: >> >> On Sun, Jan 03, 2016 at 06:41:33PM +0100, Dimitry Andric wrote: >>> On 03 Jan 2016, at 05:32, Warner Losh wrote: >>>> Author: imp >>>> Date: Sun Jan 3 04:32:05 2016 >>>> New Revision: 293068 >>>> URL: https://svnweb.freebsd.org/changeset/base/293068 >>>> >>>> Log: >>>> Add libsoft to the tree, just like lib32. >>> Hmm, are there going to be more of these "multilib" things? :) >> We'll want to do something about supporting hard float on MIPS. Over >> there it may be more of a TARGET_ARCH thing, but libsoft might be useful. > It isn’t quite a TARGET_ARCH on mips either. I’d love to work with you > to use this stuff MIPS turns out to be a harder nut to crack with this stuff > because it marks the different types of binaries differently and it looks harder > to parse. > > For amv6 it is more of a transition thing, but I wanted to do it something > approaching “correct” so that we could leverage it for MIPS. > >> We've also got a libcheri in CheriBSD and will eventually need to do a >> lib64 as we explore the switch from CHERI-when-requested to >> CHERI-by-default. > We should definitely chat about this. There’s some easy ways to mark the CHERI > binaries that are easier than others which would be quite helpful. > > So we should chat about how this would be helpful on MIPS, and not just > CHERI-mips... > > Warner > For things that are a MACHINE_ARCH, do we want a convention of lib/${MACHINE_ARCH}? That seems like it would make it easily scalable and easier to predict than a lot of lib*. For things that aren't quite a MACHINE_ARCH, it's more complicated of course. -Nathan