From nobody Mon May 29 13:55:11 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVH8z2K96z4Xpk2 for ; Mon, 29 May 2023 13:55:15 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVH8z1tfVz3Ljl; Mon, 29 May 2023 13:55:15 +0000 (UTC) (envelope-from gbe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685368515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pzlpc8adgxjJlon5zEbKX7Wrb50Oy8SjDv02bnclboI=; b=js4ZJ7XUvmrl3mV8rpbl9N3eDXudyu748+GZHLDRWgR6spYXc+Y4LOEOBWH32tSzAqaF2k bFsM5u1lFFPLXq4BpoSc76E4QntLeVLcrHUea6gBP6NGya4kC2qn8iHyO03G+Jl7lriGYu bGRJXNf7fW3HH2TenLneP6jInbhZhhI4sZcvKhwtc+1hgpuhvGgwsTfRYEvBHePLQjKnsH Ffvi+UxZdx1q4W63FoM4zvviYnfk/3VrCKynydvBlG4UeIQZicEW19Ins7LhSsWmDrHK7c QWe2tNahXdfMEKI330UBdR74dMjYI+e49Te6HjZ8PVHN0CNKFLVFr6zl/m1rhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685368515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pzlpc8adgxjJlon5zEbKX7Wrb50Oy8SjDv02bnclboI=; b=edrSV0Fx3vVsGdPb6b+GwRmpcSa3hd3tbSC6ISmf965RWGLzxFdKiK+V7CyymYQCW73DG6 dTByY8kjx4wN51yS0crNfKGDTmDnWxbfcxrNksaRUOEO4r1S4Rs7jz952lfhv93hYaMzPu E2R4RoG9PETe3MMlvGcwPf7yrHb9Y96YcE05XqzDvCj1YepDfZvG1npAWB/B5VT+QoZOaI 7Z6WPWw0/XqmwM++gtFoeAZ1iy3VWX2POdZo7rfq24GYJkN9nX5d6TKhEnxLgIcPkGNVKd AQl0ZmWlgDnDDZ3vAf8q6O+NxG/xPlWqNdho0I5emnU5oRtmFDz+uF6SOgQgfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685368515; a=rsa-sha256; cv=none; b=DQW2wzCgZ76BphzsgkpZxvc//l36730wV6Nbw7xDvwCOSUUxMiLvHujeM26wBVcrDtjeVm VrAumiwqoipA9d8pOkXZ6yb8uRthWw00VVl+WSG3fCwTLeMQVYZZnJ0kxSaala9JNv0fJm uhknFqeSRzBJh+T176PlD0+jR6VqyfZDNmU2IDwYq7/p4JUvZUUUbH23J8h2IUqIlI4+En fJSzM28YR2o1FIv51Sjww1RqvIzYrr25Q9cdF/xHfWv91g2OWj+7HzQUJdS+6r/KkSt8Ii bUxnD0BYwx0gPm79XwzZiu4fAKMy9yFzYvOLJ/sG0Y0+ynhMJHSs+u6Hs0XOcQ== Received: from localhost (p200300cb8732752b980dec3cb70c7fba.dip0.t-ipconnect.de [IPv6:2003:cb:8732:752b:980d:ec3c:b70c:7fba]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QVH8y5Jqzz1BVM; Mon, 29 May 2023 13:55:14 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Mon, 29 May 2023 15:55:11 +0200 From: Gordon Bergling To: FreeBSD User Cc: FreeBSD CURRENT Subject: Re: WITH_BEARSSL: -8112 bytes available Message-ID: References: <20230529105854.1903226d@thor.intern.walstatt.dynvpn.de> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8iIMxk1Pka9FlU7l" Content-Disposition: inline In-Reply-To: <20230529105854.1903226d@thor.intern.walstatt.dynvpn.de> X-Url: X-Operating-System: FreeBSD 13.2-STABLE amd64 X-Host-Uptime: 3:51PM up 4 days, 21:47, 3 users, load averages: 0.26, 0.23, 0.21 X-ThisMailContainsUnwantedMimeParts: N --8iIMxk1Pka9FlU7l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, May 29, 2023 at 10:58:27AM +0200, FreeBSD User wrote: > on CURRENT, enabling in /etc/src.conf >=20 > WITH_BEARSSL=3D >=20 > seems to result in a slightly enlarged loader binary, which seems to have= a fixed size > supposed on the error I get. See below. >=20 > The system is amd64 (64 bit), for the record. >=20 > Somewhere in the past developers mentioned this upcoming problem and prov= ided a knob to adjust > the used size - I forgot about that knob and I couldn't find it even in t= he loader docs - or > looked at the wrong places. >=20 > Can someone help me out here? >=20 > The first error stops compileing world/kernel, but taking a second run, t= he error goes away. >=20 > Kind regards and thanks in advance, >=20 > oh >=20 >=20 >=20 > [...] > --- all_subdir_stand/efi --- > SOURCE_DATE_EPOCH=3D1451606400 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=3Defi-app-x86_64 loader_4th.sym lo= ader_4th.efi --- > all_subdir_stand/i386 ---=20 >=20 > -8112 bytes available 7.71 real 12.86 user 3.08 sys >=20 > make[1]: stopped in /usr/src > [...] I often face a similiar error, not sure if it is BEARSSL related since I bu= ild it since a few month per default, but it often helps just to restart the bu= ild. --Gordon --8iIMxk1Pka9FlU7l Content-Type: application/pgp-signature; name="signature.asc" -----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----- --8iIMxk1Pka9FlU7l--