CVS commit: src/lib/csu

Nathan Whitehorn nwhitehorn at freebsd.org
Wed Sep 11 19:56:52 UTC 2013


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 at 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


More information about the freebsd-embedded mailing list