Date: Thu, 12 Oct 2017 11:37:41 -0600 From: Warner Losh <imp@bsdimp.com> To: Brooks Davis <brooks@freebsd.org> Cc: "freebsd-arch@freebsd.org" <arch@freebsd.org> Subject: Re: deorbiting /usr/lib/libstand.a, moving to sysboot Message-ID: <CANCZdfow18HjYNkuMAUmS5WSYkEk5A5bB=6Xt62=ta4FFS_ioQ@mail.gmail.com> In-Reply-To: <20171012165655.GH68389@spindle.one-eyed-alien.net> References: <CANCZdfrvD04cL3A1J3nKZ2uFNNkOrcVnMvobdoyXkRGx8VK8Vg@mail.gmail.com> <20171012165655.GH68389@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 12, 2017 at 10:56 AM, Brooks Davis <brooks@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfow18HjYNkuMAUmS5WSYkEk5A5bB=6Xt62=ta4FFS_ioQ>