svn commit: r304321 - in head/sys: boot/efi/boot1 boot/efi/loader boot/i386/boot2 boot/i386/gptboot boot/i386/gptzfsboot boot/i386/zfsboot boot/userboot/ficl boot/userboot/userboot boot/userboot/zf...

Warner Losh imp at bsdimp.com
Mon Aug 22 14:19:18 UTC 2016


On Mon, Aug 22, 2016 at 3:44 AM, Toomas Soome <tsoome at me.com> wrote:
> I do suspect the size difference there is partially due to ficl, in illumos (ficl 4):
>
> -rw-r--r--   1 tsoome   staff     132508 aug 22 09:18 libficl.a
>
> and freebsd (ficl 3):
>
> -rw-r--r--  1 root  wheel  213748 Aug 19 01:57 libficl.a
>
> so, there definitely is some space…

Same compiler? Clang bloats the boot code rather substantially, even after
all the flags to tell it to generate smaller code are used. gcc 4.2.x
built stuff
was substantially smaller.

There's a 520kb limit enforced in the boot1 for similar reasons. Looks like
the combination of options makes us use just enough extra memory to
sink the battleship...

Warner


More information about the svn-src-head mailing list