deorbiting /usr/lib/libstand.a, moving to sysboot

Warner Losh imp at bsdimp.com
Thu Oct 12 17:37:43 UTC 2017


On Thu, Oct 12, 2017 at 10:56 AM, Brooks Davis <brooks at 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


More information about the freebsd-arch mailing list