Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 08:19:16 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Toomas Soome <tsoome@me.com>
Cc:        Andriy Gapon <avg@freebsd.org>, Toomas Soome <tsoome@freebsd.org>,  src-committers <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: 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...
Message-ID:  <CANCZdfo0P7CPPf4khzj_JnSjWQ4gVqK9wSEqW=LCdZKQwGh6Sw@mail.gmail.com>
In-Reply-To: <AE24A37C-51F5-4CEC-9399-D7FDEBC93972@me.com>
References:  <201608180037.u7I0b77A095653@repo.freebsd.org> <7bdb0cf5-e139-375b-8be6-c1280e39da25@FreeBSD.org> <4c76efd6-146a-e70b-c065-729d223e3398@FreeBSD.org> <AE24A37C-51F5-4CEC-9399-D7FDEBC93972@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 22, 2016 at 3:44 AM, Toomas Soome <tsoome@me.com> wrote:
> I do suspect the size difference there is partially due to ficl, in illum=
os (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=E2=80=A6

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo0P7CPPf4khzj_JnSjWQ4gVqK9wSEqW=LCdZKQwGh6Sw>