From nobody Sat Mar 21 08:04:17 2026 X-Original-To: dev-commits-src-main@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 4fdBmm5pZdz6Wn2F; Sat, 21 Mar 2026 08:04:56 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fdBmm3TvWz40FJ; Sat, 21 Mar 2026 08:04:56 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id 093242411BE; Sat, 21 Mar 2026 09:04:53 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id 04D232401E6; Sat, 21 Mar 2026 09:04:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1774080292; 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=8G7sicsmcJQSJrFTBd/eS1hQh7uc8lCcjzkrR1vQt/U=; b=kO91/N02N1lqMiYkn+dvCPxqgSGLzKErSw47b4pRcX+lEdVW3GePfc+pLM7S31AzrqRLTA t7HbYO7ceRV3BeKW2r9qMCY0DD3ovBrmwF4pZHsZpf1tlkxMb47JgRQIUIVilAQzDE5ApU 0/e85d370fKn9h88nVQSHjdGDtTAOK8UIn0wIz/HArxNDuvzaFdlgfhBpakZ/QUnHtjaOr 7Sy6Xakr9dgJJdeMaW7hrxJQYWZ6cUBTlXsGH5d3UQajaFWJrSe6VJ8gZ380FCWlbkrfRw t62/ZRhFzAti0qoDxqui7HBTf24469IDfjQyhfKsYLpFA0PsXZSFS4hraJ7pJg== Received: from thor.sb211.local (dynamic-2a02-3100-1987-1e02-3e82-4b81-ae4d-3aac.310.pool.telefonica.de [IPv6:2a02:3100:1987:1e02:3e82:4b81:ae4d:3aac]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 68A0D24012F; Sat, 21 Mar 2026 09:04:51 +0100 (CET) Date: Sat, 21 Mar 2026 09:04:17 +0100 From: A FreeBSD User To: Charlie Li Cc: Shawn Webb , Warner Losh , Martin Matuska , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 8a62a2a5659d - main - zfs: merge openzfs/zfs@f8e5af53e Message-ID: <20260321090444.6f81da15@thor.sb211.local> In-Reply-To: References: <69b561ff.39ea9.b797d91@gitrepo.freebsd.org> <2jb2vg6baofimu5xkxf62o5ogaq7fu5pk4o3vzhpegy446bppf@fzwtj6wtwk53> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd16.0) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/XfBbC._TspcGPTte9f5ISeJ"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 36d70a X-Rspamd-UID: 58e78d X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE] X-Rspamd-Queue-Id: 4fdBmm3TvWz40FJ X-Spamd-Bar: ---- --Sig_/XfBbC._TspcGPTte9f5ISeJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Tage des Herren Fri, 20 Mar 2026 23:27:20 -0400 Charlie Li schrieb: > Shawn Webb wrote: > > On Tue, Mar 17, 2026 at 04:52:16PM +0000, Shawn Webb wrote: =20 > >> On Tue, Mar 17, 2026 at 10:44:59AM -0600, Warner Losh wrote: =20 > >>> On Tue, Mar 17, 2026 at 10:36=E2=80=AFAM Shawn Webb > >>> wrote: > >>> =20 > >>>> Hey Martin, > >>>> > >>>> On Sat, Mar 14, 2026 at 01:26:23PM +0000, Martin Matuska wrote: =20 > >>>>> The branch main has been updated by mm: > >>>>> > >>>>> URL: =20 > >>>> https://cgit.FreeBSD.org/src/commit/?id=3D8a62a2a5659d1839d8799b4274= c04469d7f17c78 =20 > >>>>> > >>>>> commit 8a62a2a5659d1839d8799b4274c04469d7f17c78 > >>>>> Merge: f91464171d61 f8e5af53e92f > >>>>> Author: Martin Matuska > >>>>> AuthorDate: 2026-03-14 12:14:56 +0000 > >>>>> Commit: Martin Matuska > >>>>> CommitDate: 2026-03-14 12:14:56 +0000 > >>>>> > >>>>> [snip for brevity] > >>>>> > >>>>> Obtained from: OpenZFS > >>>>> OpenZFS commit: f8e5af53e92fa7c03393fbd4922cb9c1d0c15920 =20 > >>>> > >>>> This commit seems to cause issues when building boot loader related > >>>> code: > >>>> > >>>> =3D=3D=3D=3D BEGIN LOG =3D=3D=3D=3D > >>>> 114232 bytes available > >>>> btxld -v -f aout -e 0x200000 -o loader_simp -l > >>>> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btxldr/btxldr -b > >>>> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx loader_simp.bin > >>>> kernel: ver=3D1.02 size=3D690 load=3D9000 entry=3D9010 map=3D16M pgc= tl=3D0:58 > >>>> client: fmt=3Delf size=3D5e2e8 text=3D57930 data=3D514c bss=3D7470 e= ntry=3D0 > >>>> output: fmt=3Daout size=3D61000 text=3D1000 data=3D5f000 org=3D20000= 0 entry=3D200000 =20 > >>>> =3D=3D=3D> stand/i386/pxeldr (all) =20 > >>>> -560 bytes available > >>>> *** Error code 1 > >>>> =20 > >>> > >>> What all do you have enabled? The defaults aren't even close to runni= ng out > >>> of space (though I've not looked at this). =20 > >> > >> Hey Warner, > >> > >> Thanks for reaching out! I've uploaded `make showconfig` here: > >> https://hardenedbsd.org/~shawn/2026-03-17_srcconf-r01.txt > >> > >> The following options are specific to HardenedBSD (in no particular > >> order): > >> > >> 1. MK_HBSD_UPDATE > >> 2. MK_HBSDCONTROL > >> 3. MK_PIE > >> 4. MK_RELRO > >> 5. MK_SHLIBRANDOM > >> 6. MK_ZERO_REGS > >> 7. MK_SPECTREV1_FIX > >> 8. MK_SAFESTACK > >> 9. MK_RETPOLINE > >> 10. MK_LTOLIB > >> 11. MK_CFI =20 > >=20 > > MK_RETPOLINE was the culprit. Something about this ZFS commit causes > > LLVM to emit more retpoline entries than before--too many for a little > > bootloader. That might be something to investigate later, but only to > > satisfy a curious mind, not to actuall fix anything (since nothing's > > actually broken.) > >=20 > > Since it doesn't really make sense to apply speculative execution > > mitigations to a bootloader, I disabled retpoline for a components > > in stand/. > >=20 > > Good to go. > > =20 > Also just got bit by this, albeit during the lua loader, since I have=20 > WITH_RETPOLINE in my src.conf. >=20 Hello, I do not have WITH_RETPOLINE in my /etc/src.conf, but since I got this myst= erious error about not enough bytes left, I use WITHOUT_LOADER_PXEBOOT=3D YES (due to issues w= ith WITH_BEARSSL=3DYES also used). Despite not using any WITH_RETPOLINE I also catch the error ... Kind regards, Oliver --=20 A FreeBSD user --Sig_/XfBbC._TspcGPTte9f5ISeJ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCab5RHAAKCRCxzvs8Oqok rxGxAP9C4QRzNdRbj3x5RuwNoFW+XadnxUEVADHkwqGwuc1TMQEAp7hx0f37RpYM pc0APTBm9I+EJlQXyY7CE4byxoCCDQQ= =0Wjg -----END PGP SIGNATURE----- --Sig_/XfBbC._TspcGPTte9f5ISeJ--