From owner-freebsd-arch@freebsd.org Mon Oct 9 16:21:56 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 F1580E3544A for ; Mon, 9 Oct 2017 16:21:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2404765035 for ; Mon, 9 Oct 2017 16:21:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1835EE35449; Mon, 9 Oct 2017 16:21:56 +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 17C71E35448 for ; Mon, 9 Oct 2017 16:21:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::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 6FBCA6502F for ; Mon, 9 Oct 2017 16:21:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x230.google.com with SMTP id g18so13544779itg.5 for ; Mon, 09 Oct 2017 09:21:55 -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=mByYs4f2AfB4s/hafJVrIKvtPb4BBgQ4WSDxAlDhX0I=; b=yaRsjYsJuMet861UNyRrnh2d9h91H/5xO8d0Emuo6Dd2jxkfeP17yH8OLVXy2xUgWg ENQfzM6pfLwWnynzqZPTzZXO/hE2y3pDEiBDEe7WUQ2pqNVSFirfGoIEV7yFOTZr0wpI ggnV3qZH3iqOyIIQBDU4olMOI7PpBD8TdZK45qQf26/K8J4tkZSLcJmbQruqm/Ty4UPE eQJNX8i9sQJqpuXIG71vYt3c5ikSaKyWFXJfVOgpYX+SNwCGohWE0r9828ABuJOWu9P7 V2HHLeSKnQxmAzqluQcKKmDobuIGlqvGldMnd+GGP5IRhRrypC5sw0UqXzZjFFyykhus APwg== 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=mByYs4f2AfB4s/hafJVrIKvtPb4BBgQ4WSDxAlDhX0I=; b=NdBL2ekKRnbwo+HCcEwRVYUVfdvAIxa0id3Y0Ibq04VaRyMYmb+w2nQM+3PSHm/il5 hMybcmX9T5b7UWzsx68PKG9bIoWqfd8Clx+Hr5eDSwVUQw5kyb+DL/oUg7tzbj+tin8U 3cCsv4JZ66newZl8pv7VhKUQKAAdLieVnUV878mVjkNPzOY927LoBgBNOX74TmlFo5T/ zwValTaAtru2gKTlvjA9zRKguINXOdZ/09rZOhm2tRW3+x3S4B5dki4WVjUBiafyjPgh kp7YBM7g8yPuBJNy+SMlqj2pwQ8EwC0UI4DzAuAwSgiZ+SN0xp0Zk6r12XrHw2HKlGb3 KXZg== X-Gm-Message-State: AMCzsaUde8+/KC3uK2Tf5TuTotDxkNP1ihIqCOwdKRsdBIMI0YBVNtxl 4zdwTHWSf4pKTmycG5NC4vIfI1wCah4KPGX9jdRGjA== X-Google-Smtp-Source: AOwi7QA3wiUEntPDhQsnjdkSN6Xf43RtjeU8XjoWYvlV175P5tkfCQJobsjSWaq0pWHPpVY08rHgdGwqL7X/Dtdwjlo= X-Received: by 10.36.201.4 with SMTP id h4mr14868172itg.26.1507566114583; Mon, 09 Oct 2017 09:21:54 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.94.130 with HTTP; Mon, 9 Oct 2017 09:21:53 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:8936:338a:89de:d5ea] In-Reply-To: <1507565759.77958.7.camel@freebsd.org> References: <23C4A573-05A7-4D76-9179-19169ECAB570@FreeBSD.org> <1507565085.77958.3.camel@freebsd.org> <1507565759.77958.7.camel@freebsd.org> From: Warner Losh Date: Mon, 9 Oct 2017 10:21:53 -0600 X-Google-Sender-Auth: YiYqWAz9v3oqvQHFoa7Fk5yl7A4 Message-ID: Subject: Re: deorbiting /usr/lib/libstand.a, moving to sysboot To: Ian Lepore Cc: "freebsd-arch@freebsd.org" , Dimitry Andric 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: Mon, 09 Oct 2017 16:21:57 -0000 On Mon, Oct 9, 2017 at 10:15 AM, Ian Lepore wrote: > On Mon, 2017-10-09 at 10:09 -0600, Warner Losh wrote: > > On Mon, Oct 9, 2017 at 10:04 AM, Ian Lepore wrote: > > > > > > > > On Mon, 2017-10-09 at 17:57 +0200, Dimitry Andric wrote: > > > > > > > > On 9 Oct 2017, at 07:45, 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. > > > > > > > > Though I completely agree with this, I am still interested in the > > > > historical reasons for separating out this library for general > userland > > > > consumption. Were there any other parts of world that happened to > use > > > > libstand? > > > > > > > > -Dimitry > > > > > > > There are out-of-tree users of libstand. Perhaps not many, but a > > > couple times after doing something to libstand I've received emails > > > from people that thanked me for the enhancement and mentioned some non- > > > loader(8) use of the lib in passing. (Unfortunately, I can't find any > > > of those mails now, they were from 2-3 years ago.) > > > > > They can email me and I'll help them convert over... :) > > > > Warner > > Actually, I got distracted, then came back and hit Send too soon. I > meant to ask "Will the library still be accessible to out of tree > users?", so that adjusting to the change will amount to fixing some > build breakage to adjust to a new location? > The proposal is to take it 100% internal and officially not support its use outside the loader. It's open source, so if you really want to use it, you can with some effort. If there's one or two people, they can adjust. If there's lots, then I can revisit the proposal. It would help to know who they were and what, exactly, they used it for. Warner