From owner-freebsd-arch@freebsd.org Wed Oct 18 14:49:06 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 E979BE3AE9F for ; Wed, 18 Oct 2017 14:49:06 +0000 (UTC) (envelope-from lev@FreeBSD.org) 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 CAF8D8057A for ; Wed, 18 Oct 2017 14:49:06 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id C68B1E3AE9E; Wed, 18 Oct 2017 14:49:06 +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 C61F1E3AE9D for ; Wed, 18 Oct 2017 14:49:06 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 54B9880578; Wed, 18 Oct 2017 14:49:05 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.19.110] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 3D056E2C; Wed, 18 Oct 2017 17:48:59 +0300 (MSK) From: Lev Serebryakov Subject: Re: deorbiting /usr/lib/libstand.a, moving to sysboot Reply-To: lev@FreeBSD.org To: Warner Losh , Brooks Davis Cc: "freebsd-arch@freebsd.org" References: <20171012165655.GH68389@spindle.one-eyed-alien.net> Organization: FreeBSD Message-ID: Date: Wed, 18 Oct 2017 17:48:47 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iqVh9Q65Rcktr0JRsXLCnGWNU6Ge92eLn" 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: Wed, 18 Oct 2017 14:49:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iqVh9Q65Rcktr0JRsXLCnGWNU6Ge92eLn Content-Type: multipart/mixed; boundary="heFrND3gaq79M0OhSWdRE5x482DlXO8oC"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: Warner Losh , Brooks Davis Cc: "freebsd-arch@freebsd.org" Message-ID: Subject: Re: deorbiting /usr/lib/libstand.a, moving to sysboot References: <20171012165655.GH68389@spindle.one-eyed-alien.net> In-Reply-To: --heFrND3gaq79M0OhSWdRE5x482DlXO8oC Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 12.10.2017 20:37, Warner Losh 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. >=20 >=20 > 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 tr= ee, > so I'm not surprised. >=20 > 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/mde= c). > It would build, but not install, as part of buildworld. All libraries w= ould > be internal / private to the build. New world can not be build with WITHOUT_CDDL / WITHOUT_ZFS. It fails in "boot1". --=20 // Lev Serebryakov --heFrND3gaq79M0OhSWdRE5x482DlXO8oC-- --iqVh9Q65Rcktr0JRsXLCnGWNU6Ge92eLn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlnnadhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R49NjxAAlciu1haJ1dpJLSpKuIlgjJVJNcsamUxvzchxUXNOf+9CX/ZpdFNAX9ri BeqKDEdT8FhneDjtEJ45X6W/xmV3SkMnxf+XJQUYD9NcrMHWu8BsBhWlamygO6Wv nA3WP3NUOB2wkhLPshAW9N2h5j+rwYxVO6uvaj76OQRrgAt/ttE4B3P0o3drui8Y U8arDeMCkaf1PRZbAYBtxFZjoRFquxrwxcyvnv5rLJnLXz15IwnX/QiJrZqbzTOX aLAoMX2pYRL0Dizw1qkPr8z3rp+3hrnskqx0apHlPXNoWAb/JFyZYBpXnmzrJO1y 87WvvIdL5lFEmShFqGfrn2IrzeXfwbEnhOuIxfcEvsETQ/0QOjfLH4RyuLy/GGg4 eOlHgjzUjp9IG/pRO2L2TR1fwz0H1aKouKQuFkrzzP3r/Z0FzxObpvXK7JgzkCP6 HnzXn/doPqOl/cwRuwdqc5lOgAv100mmNssFwSJtCE0vGpED1Jm1pwzdtzGm68vS q9Lf9wA5+ZUc1vJiavfTn5Md6wRQxGBL/kZFfpvi/L7MGFTS4yHTZilwV8T7mvwM xKyAkvPpty7jqhnQdUeN36ILeFhx9dYLcbLY+wWqFCKbN8Hw9ID0Li/eoqSPhOtB XXGT9Hx7/4zPh7j3FP+Or2KqKlNVzk3TEnoAW5pgdW90Ly4699g= =jJG4 -----END PGP SIGNATURE----- --iqVh9Q65Rcktr0JRsXLCnGWNU6Ge92eLn--