Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 14:56:44 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>, embedded@freebsd.org, freebsd-embedded@freebsd.org
Subject:   Re: CVS commit: src/lib/csu
Message-ID:  <5230CAFC.3060503@freebsd.org>
In-Reply-To: <18371758-4A05-4C7B-AF7B-AD07AC9529F0@bsdimp.com>
References:  <24478.1378868144@splode.eterna.com.au> <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> <20130911092115.139716ce@bender.Home> <201309111049.51003.jhb@freebsd.org> <18371758-4A05-4C7B-AF7B-AD07AC9529F0@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/11/13 14:51, Warner Losh wrote:
> On Sep 11, 2013, at 8:49 AM, John Baldwin wrote:
>
>> On Wednesday, September 11, 2013 4:21:15 am Andrew Turner wrote:
>>> On Tue, 10 Sep 2013 21:12:51 -0600
>>> Warner Losh <imp@bsdimp.com> wrote:
>>>
>>>> Perhaps we should do it too...  I also like this elf-notes.html idea
>>>> too...
>>> Something like the patch I've attached from the thread at [1]? It adds
>>> a MACHINE_ARCH note type.
>> bapt@ will want this for pkgng.  It might be nice to go whole hog and store
>> the entire triple (MACHINE, MACHINE_ARCH, MACHINE_CPUARCH).
> MACHINE is just the kernel interface, might be only mildly useful to pkgng.
> MACHINE_ARCH is useful since it uniquely defines the ABI we're using, by definition.
> MACHINE_CPUARCH can be derived from MACHINE_ARCH and isn't actually useful to pkgng at all. It is a build-time value to select which files from our tree to build with.
>
> Warner
>


So the last time we had this discussion, the consensus was that we add a 
sysctl with the list of all supported emulations in terms of 
MACHINE_ARCH. This is probably about 10 minutes of work aside from how 
to handle Linux emulations. Is this worth doing for 10.0?
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5230CAFC.3060503>