From owner-freebsd-arch@freebsd.org Thu Oct 12 17:37:43 2017 Return-Path: Delivered-To: freebsd-arch@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 A5299E2FC90 for ; Thu, 12 Oct 2017 17:37:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7E750AC8 for ; Thu, 12 Oct 2017 17:37:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 7AB44E2FC8F; Thu, 12 Oct 2017 17:37:43 +0000 (UTC) Delivered-To: arch@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 7870EE2FC8E for ; Thu, 12 Oct 2017 17:37:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33BBFABD for ; Thu, 12 Oct 2017 17:37:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id 101so6297902ioj.3 for ; Thu, 12 Oct 2017 10:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=vxVKQ/pwf2RbjnuLw/5hgRMzNsjp2THKYUDqJonQe5c=; b=podVVI8dhf9EKgL+VUDh/qUmeqsBuwHrn8iT3q/O7Ddd1FbzbPSwNw0m/pWDjt5GwG tS/3QY1kJ/0Hq/+zEaKAbQ1BJkymoFp39OSPnbPsWfUz6MYVZE6YwlyD133thKKqbeOU LoIVc1b4qZVMjRGPPx7gJbYOhQifFbxNTFxMRrpQmmy5t54b/PxmSWUwpDN1gTH0hK1X zHOgO5awUZkMlm50YZvFkU+INzIg0udA2zGloLVFUIMWoAHlKqxywHBUglSMzSgKQldM jNQpL6nAcgghyfOGcff4e1uoSA2ZGk8Z/xXsVpLVmE6kDBx+RyFNJ5klcoP/PV3O0k7L xtsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=vxVKQ/pwf2RbjnuLw/5hgRMzNsjp2THKYUDqJonQe5c=; b=XDGBJ52fgIMhaMLDKYhC+rQH7jOsJWhGrXwhTqbMQqv4BrtvhzMWXyiAq0SV1mIB2z GaDFGsho86TgRiVUbp6DdbRGope/OO0JhipbnH1mYl7fVhzCvNsymKbPtL3hwMGV45aD npSmGszTIfxF9CCHfbXsi45LkBQ5mVO+pVxBHCqVVHrEaLf4mGDQ/o7KkTemf1bSbXv5 qrgfMJHD7cQ3o0M4HsK8WhNCUPATTiQcPycxXl83LRbajI82rpxY6AGTj7iY/SxpWOf3 GN5TwaooIhfyi5C0HYl4c8hIIQ43ZPWRxrS04e+F/g5nO+jN5hART6vcOhArTG+qBAlf 3Ghg== X-Gm-Message-State: AMCzsaW/9vuxP6U0rlAqVwRd3VxsH662+12DNzHN/+KGlxjN+tJf6BKd FYl6GKBJucp7j0Sa4rvC+h/R0vUfoKGizVdAfyjISw== X-Google-Smtp-Source: AOwi7QAeE1MFS60VpzZl0pXpvTR6gGy9dyagq9MItTaLrDx5/giM9jhByQ0g4cuRFflpjJezQN3bR9Rghf0cBe/sUlQ= X-Received: by 10.107.135.202 with SMTP id r71mr4307103ioi.26.1507829862285; Thu, 12 Oct 2017 10:37:42 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.94.130 with HTTP; Thu, 12 Oct 2017 10:37:41 -0700 (PDT) X-Originating-IP: [2607:fb10:7021:1::9312] In-Reply-To: <20171012165655.GH68389@spindle.one-eyed-alien.net> References: <20171012165655.GH68389@spindle.one-eyed-alien.net> From: Warner Losh Date: Thu, 12 Oct 2017 11:37:41 -0600 X-Google-Sender-Auth: tfXLf4CMznXdyx1R4J3Yw3DL4XQ Message-ID: Subject: Re: deorbiting /usr/lib/libstand.a, moving to sysboot To: Brooks Davis Cc: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 17:37:43 -0000 On Thu, Oct 12, 2017 at 10:56 AM, Brooks Davis wrote: > On Sun, Oct 08, 2017 at 11:45:37PM -0600, Warner Losh wrote: > > I'd like to deorbit /usr/lib/stand.a and /usr/include/stand.h. These are > > really parts of the boot loader with an unstable API and shouldn't be > > installed into the system. It's really a private library to the boot > loader. > > Kicking it out of src/lib will be a good thing. It doesn't make sense > to build and install as part of the world and, for good reason, doesn't > follow normal rules. It was a pain to deal with for CHERI and I think > we've disabled it entierly. Yes. I've moved it into sys/boot. So now it's possible to hack on it w/o crazy gymnastics. The BERI boot loaders do interesting things in the tree, so I'm not surprised. I'm contemplating moving src/sys/boot up to just src/boot (this mirrors in some ways what old-school Unix did with src/cmd/standalone and src/mdec). It would build, but not install, as part of buildworld. All libraries would be internal / private to the build. Warner