Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2023 15:55:11 +0200
From:      Gordon Bergling <gbe@freebsd.org>
To:        FreeBSD User <freebsd@walstatt-de.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: WITH_BEARSSL:  -8112 bytes available
Message-ID:  <ZHSuvzY4lkzbSAiY@lion.ttyv0.de>
In-Reply-To: <20230529105854.1903226d@thor.intern.walstatt.dynvpn.de>
References:  <20230529105854.1903226d@thor.intern.walstatt.dynvpn.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi,

On Mon, May 29, 2023 at 10:58:27AM +0200, FreeBSD User wrote:
> on CURRENT, enabling in /etc/src.conf
> 
> WITH_BEARSSL=
> 
> seems to result in a slightly enlarged loader binary, which seems to have a fixed size
> supposed on the error I get. See below.
> 
> The system is amd64 (64 bit), for the record.
> 
> Somewhere in the past developers mentioned this upcoming problem and provided a knob to adjust
> the used size - I forgot about that knob and I couldn't find it even in the loader docs - or
> looked at the wrong places.
> 
> Can someone help me out here?
> 
> The first error stops compileing world/kernel, but taking a second run, the error goes away.
> 
> Kind regards and thanks in advance,
> 
> oh
> 
> 
> 
> [...]
> --- all_subdir_stand/efi ---
> SOURCE_DATE_EPOCH=1451606400  objcopy -j .peheader -j .text -j .sdata -j .data  -j .dynamic -j
> .dynsym -j .rel.dyn  -j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set  -j
> set_Xficl_compile_set  --output-target=efi-app-x86_64 loader_4th.sym loader_4th.efi ---
> all_subdir_stand/i386 --- 
> 
> -8112 bytes available 7.71 real        12.86 user         3.08 sys
> 
> make[1]: stopped in /usr/src
> [...]

I often face a similiar error, not sure if it is BEARSSL related since I build
it since a few month per default, but it often helps just to restart the build.

--Gordon

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAmR0rr1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYx
QjU4OEQwQTYzOTVGQkM4N0ZDNUNCODM5MDVGNjU3Q0FDRkQzREMACgkQOQX2V8rP
09xRqggA1Inem3janyIl/tEqKo1KJrLtjRQJcwbjgS+5Fa2LC2vCIL+cNCYwRdVM
PQ8NW9n8gIpzc6mgqfOIGQjW9s3Lrc4oTiJKPNYy7YsI3efiAc1x6hF1qLubXoWj
pG0+S/QMyK2wyw0XREm3p5SOL7COMb61VWVCLNceJ01fkyE0VCGkeaQ7Qax4jU+y
/TS2sg+4v3PiZkCXBhdRVvHH3YVIVv58QIjUvHtkvTDXfdHOgzKm0SgqvmapW9qr
SSgcpx2t1jfzXjPRMTXZFjWyZ6nVc5ZRckjpGdwIHdA+El/gvmCTYp3JpiLainHS
BkpT6xPL2KAjwpjdxPncw98wXvMzYQ==
=ZJH4
-----END PGP SIGNATURE-----
help

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