From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 19:51:08 2013 Return-Path: Delivered-To: embedded@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 ECD6DD16 for ; Wed, 11 Sep 2013 19:51:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAB2D23D1 for ; Wed, 11 Sep 2013 19:51:08 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c10so20728411ieb.3 for ; Wed, 11 Sep 2013 12:51:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=yGIfMjAVRR5BvVdoYNkZ1fITvq8DCGABPN6kR8EgnIU=; b=UF8kpYhoLbzyBaPLdEKz1BD26ubl2v2VU2zUJgmd/68fXZA7CxsQGbuPnwjyCcOSEv YdSSMeU+4kTycjPunWHIwr3X3YDNck7bPEkhY6YPC7DX+eMYRqKK5/KtmcGLlUzW5ImF 47FYiV1eMvUtdfDTsaWxDrJGNoUIfR7ydPDmrnNlswgepy5P8dei958nImIJnG9YE0kU y0Wsi+GKBt6SJhTaFyDGcLrA2z7JXjSFbE/AWDBIM5Ok3zu7zUITnBea8oIDRK+yx8YD 6ZiFQy8D+6S+BFXrKkoAhEnZFKwyng5pEeh6flKNaqGh5ogvKq6csrlmRRbdpMzwmXpD OVXw== X-Gm-Message-State: ALoCoQmQTmuF6DJB7uYMRaV26YUTNlTe78tLg/p0vwBt54umaYV9EBYrLw9xEBn2PBrDwP8c0bkN X-Received: by 10.50.106.102 with SMTP id gt6mr12504869igb.46.1378929067829; Wed, 11 Sep 2013 12:51:07 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPSA id ih14sm4255842igb.7.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Sep 2013 12:51:07 -0700 (PDT) Sender: Warner Losh Subject: Re: CVS commit: src/lib/csu Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <201309111049.51003.jhb@freebsd.org> Date: Wed, 11 Sep 2013 13:51:04 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <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> To: John Baldwin X-Mailer: Apple Mail (2.1085) Cc: "freebsd-arm@freebsd.org" , embedded@freebsd.org, freebsd-embedded@freebsd.org, Andrew Turner X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 19:51:09 -0000 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 wrote: >>=20 >>> Perhaps we should do it too... I also like this elf-notes.html idea >>> too... >>=20 >> Something like the patch I've attached from the thread at [1]? It = adds >> a MACHINE_ARCH note type. >=20 > 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