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

Lev Serebryakov lev at FreeBSD.org
Wed Oct 18 14:49:07 UTC 2017


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.
> 
> 
> 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.
 New world can not be build with WITHOUT_CDDL / WITHOUT_ZFS. It fails in
"boot1".

-- 
// Lev Serebryakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20171018/4504f215/attachment.sig>


More information about the freebsd-arch mailing list