From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 18 Aug 2026 10:31:15 -0700 Received: from mail-oa1-f57.google.com ([209.85.160.57]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1wwNed-0006zn-8K for bitcoindev@gnusha.org; Tue, 18 Aug 2026 10:31:15 -0700 Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-455ad408573sf212680fac.3 for ; Tue, 18 Aug 2026 10:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1787074269; x=1787679069; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:content-type :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to:content-type; bh=Oo/mwKHJmdyNEFs8fJu/WAFJb1BOI2D7ADPAGiBRG80=; b=YMvaQI7u8cR+wohmi7w9YyjMqP6nZdzoCebKjZakdi3iEBYWaEGlp7V5Jfk23YHZl4 VlxFXv2rKd01rVOA3EpjBKgK9UKJofbsD83igcr3PntdH3cnfCYsEEXC2ZxP5oWeaXnu D2AzUNdpP1p7coqRCo0znFGWFeR8caATyGYEFVLU+9HtYLIm1Ns9eQ9hqGXa1GLFHG3a UGGMszNrmcVxTAUgauJaM3n/FMxSgiK0naA3FgMTBC1Cjvy4ik0sxxEONn4LpvcawWZC CsRESipiNZk7+unrtapkKqB5GwSMdSxxaYSfqqnebJXoOAIGmmzCQsmq8o0TrQADC8Kp E/jg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787074269; x=1787679069; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:content-type :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to:content-type; bh=Oo/mwKHJmdyNEFs8fJu/WAFJb1BOI2D7ADPAGiBRG80=; b=D/wVBRm702Gnt/zjZCzjXPJqX0UQumA1yMA63QbLHPglg//r5O0Puxz0UgzfTAchC+ euR7rdsHRmPY2w0mb2R/LYDHMYmj/OyofLm+jL92ZM9T+e7xaSpPamZQ30QuFD4EskC5 7ZkBFUmERI5Xx/s5huSt25fWm17QRIBPpF80kP8UX4lEFvjJgAZFaqYoFFfAcWIHy+kd W74hapjYE2emO0KGkO0Jd/3ggDzA3NW2BVWfqBNFuRQgYnfXhk3Au7nvVi2NdBzu+CmB d1b8d0M3yi9iyXvk/K/8T9wG2t4m1quOduCkrMSEcIBYaJHK/DRHYTrb5pr6wr/OOqnC v3oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787074269; x=1787679069; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:content-type :mime-version:subject:references:in-reply-to:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Oo/mwKHJmdyNEFs8fJu/WAFJb1BOI2D7ADPAGiBRG80=; b=DTXrMXU3pLyVjL1svtYqAyZMdVWOjH7xLV/Qo2fWrgMFO2OTgfjMUXZXI5KUJeNjSS ITz2ZODKbI0hb6WANHC0zcatuaEf+aIabi1QJZ2Vshsu7gJs2lwoqEB4AJf71RVfpSZv 3TqWxH6bc/Rekv9u5JAaazebZtvlfMO7dE2WNjYesrxPBh0cXKyusCdD2ONKVCK1jIQu fKnVsJWAbJIGggP6JoHFrIyMk2hqm0rIdqCwHiAhd1bc/KefnANARy/fHJvxsguqKNHL RvQnalMlCbE/56fsux5JIjkomEjhbOxxbSj0wZAFNkTFUoEaFFjN6LGtBT6QGI9oXoz4 9TDg== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=1; AHgh+RpriSuV7sqiWLVuuKwEIGcU1AbETVhg/vpLI4mhhzYMu25e7RCXxE802vnOHhDK2bfUsrkQATe0wxJj@gnusha.org X-Gm-Message-State: AOJu0YxjFH4hiS/2gvNWH35EZin0fCXAfUc9+ODCrP9tG4k8EYX7oH0X BqqaI3gmyNgPcpM02Zqv8GVjUMEEcufASvvHZn1Sj5VLX4VqGeGrTZuK X-Received: by 2002:a05:6820:4b81:b0:6aa:e524:fd7f with SMTP id 006d021491bc7-6b0d7408129mr29319167eaf.34.1787074268627; Tue, 18 Aug 2026 10:31:08 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="ATskLdfqcgWKWVV56LZYKgRxs22xrzuI9bF04nWMCTn68ZnTag==" Received: by 2002:a05:6871:7403:b0:45e:435c:5ea with SMTP id 586e51a60fabf-45e5c043ed0ls3691759fac.1.-pod-prod-06-us; Tue, 18 Aug 2026 10:31:02 -0700 (PDT) X-Received: by 2002:a05:6808:1315:b0:496:34a:d7e3 with SMTP id 5614622812f47-4b241e17a5amr27590975b6e.17.1787074262225; Tue, 18 Aug 2026 10:31:02 -0700 (PDT) Received: by 2002:a05:690c:5c04:b0:81e:e2ea:ecde with SMTP id 00721157ae682-8445729ec29ms7b3; Tue, 18 Aug 2026 10:01:08 -0700 (PDT) X-Received: by 2002:a05:690c:e298:10b0:81c:89a2:dbce with SMTP id 00721157ae682-8370c6513b6mr103280107b3.3.1787072468132; Tue, 18 Aug 2026 10:01:08 -0700 (PDT) Date: Tue, 18 Aug 2026 10:01:07 -0700 (PDT) From: fanquake To: Bitcoin Development Mailing List Message-Id: In-Reply-To: <391ad3ce-2352-42d8-9d15-e011e187cb0fn@googlegroups.com> References: <391ad3ce-2352-42d8-9d15-e011e187cb0fn@googlegroups.com> Subject: [bitcoindev] Re: static-pie release binaries available for testing MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_566654_739177056.1787072467760" X-Original-Sender: fanquake@gmail.com Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) ------=_Part_566654_739177056.1787072467760 Content-Type: multipart/alternative; boundary="----=_Part_566655_168479615.1787072467760" ------=_Part_566655_168479615.1787072467760 Content-Type: text/plain; charset="UTF-8" Hi list, I've uploaded a new round of test binaries, available here: https://github.com/fanquake/bitcoin/releases/tag/static_bitcoind_db73d1623957. Thanks to everyone that has been testing (and reporting) so far. Compared to the previous round of binaries, the main difference is building against a newer version of the glibc 2.44 branch. Guix hashes: 31732e817019f219471e71cda1b1986a660130cc5e1ebed7020aae3478ce3150 guix-build-db73d1623957/output/aarch64-linux-gnu/bitcoin-db73d1623957-aarch64-linux-gnu-debug.tar.gz 27d13309bfc4ec03e8d0fd585b61f4deb00733b833e67a3cc432ffe3c2affccd guix-build-db73d1623957/output/aarch64-linux-gnu/bitcoin-db73d1623957-aarch64-linux-gnu.tar.gz 2d89bed5b00526dd015042f32416bf1085b5bab0e0c36c42d8f6177a3bb7980f guix-build-db73d1623957/output/dist-archive/bitcoin-db73d1623957.tar.gz eafdc26130f7f059af2ae2185eeae50943b166bad8778c1980b52497d6a14e02 guix-build-db73d1623957/output/x86_64-linux-gnu/bitcoin-db73d1623957-x86_64-linux-gnu-debug.tar.gz 71aef249424b98b2ceb137cc4f86894941c2449e83e58e0ff6620343ee17a789 guix-build-db73d1623957/output/x86_64-linux-gnu/bitcoin-db73d1623957-x86_64-linux-gnu.tar.gz Thanks, Michael / fanquake On Thursday, 6 August 2026 at 16:41:54 UTC+1 fanquake wrote: > Hi list, > > I've been working on producing `-static-pie` release binaries for Bitcoin > Core, using our existing Guix infrastructure. The goal is to ship release > binaries that are as self-contained as possible, doing away with our few > remaining runtime dependencies (libc & friends); this will also make our > release binaries more portable. Currently we target any system with glibc > 2.31 or later. These new binaries will be able to run on systems with much > older glibcs, as well as non-glibc based systems, like Alpine (musl libc). > > These changes are currently only for our x86_64 and aarch64 Linux > binaries, for bitcoind, and the other utilities; bitcoin-qt and bitcoin-gui > (multiprocess) won't be changing. There are plans to support more targets > in future (arm32, riscv64 etc). > > The binaries are built with our current Guix toolchain (GCC 14.3.0 + > Binutils 2.46.0) and against glibc 2.44 (rather than 2.31), with some > patching for reproducibility. > > A PR with all the changes is available here: > https://github.com/bitcoin/bitcoin/pull/25573. > > As of v31.1, a release bitcoind, ~18mb, looks like this: > > bitcoind: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), > dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux > 3.2.0, stripped > > ldd bitcoind > linux-vdso.so.1 (0x00007fffb4d49000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x0000746451893000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007464517aa000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000746450200000) > /lib64/ld-linux-x86-64.so.2 (0x00007464518a8000) > > With these changes, a release bitcoind, now ~19mb, would look like: > > bitcoind: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), > static-pie linked, for GNU/Linux 3.2.0, stripped > > ldd bitcoind > statically linked > > I'm looking for any amount of testing or feedback. Please leave any > questions, bugs found or concerns in the PR, or feel free to reach out > directly. > > You can find Guix built test binaries here: > > > https://github.com/fanquake/bitcoin/releases/tag/static_bitcoind_ff01e5af948d > > With the following hashes: > > 22b757235729757bf4a225de4b34eca4d20704ad7e1fd6b48ab6902ef6fad407 > guix-build-ff01e5af948d/output/aarch64-linux-gnu/bitcoin-ff01e5af948d-aarch64-linux-gnu-debug.tar.gz > 1f3461c39b1776cbbaa6d216847beb6670df931121d1d4da9fbaaf6a3aad7398 > guix-build-ff01e5af948d/output/aarch64-linux-gnu/bitcoin-ff01e5af948d-aarch64-linux-gnu.tar.gz > 00cc2357b102dd4e1c41bf9fc0c28cc4d43ec1074b7035defc09e4c81f910322 > guix-build-ff01e5af948d/output/dist-archive/bitcoin-ff01e5af948d.tar.gz > 9d886b556d04658019f9882b7e10b3be26a91c5dbcdeedd4813fcaf769a7a750 > guix-build-ff01e5af948d/output/x86_64-linux-gnu/bitcoin-ff01e5af948d-x86_64-linux-gnu-debug.tar.gz > 5abdd153b2fc41f56c341b51c9175196f503d310dde64e109c781e8f05f019de > guix-build-ff01e5af948d/output/x86_64-linux-gnu/bitcoin-ff01e5af948d-x86_64-linux-gnu.tar.gz > > Thanks, > > Michael / fanquake -- You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/e938393c-74ad-423f-b230-ab472a72bd04n%40googlegroups.com. ------=_Part_566655_168479615.1787072467760 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi list,

I've uploaded a new round of test = binaries, available here:=C2=A0https://github.com/fanquake/bitcoin/releases= /tag/static_bitcoind_db73d1623957.

Thanks t= o everyone that has been testing (and reporting) so far.
Compared= to the previous round of binaries, the main difference is building against a newe= r=20 version of the glibc 2.44 branch.

Guix has= hes:

31732e817019f219471e71cda1b1986a66013= 0cc5e1ebed7020aae3478ce3150 guix-build-db73d1623957/output/aarch64-linux-g= nu/bitcoin-db73d1623957-aarch64-linux-gnu-debug.tar.gz=C2=A0
27d13309bfc4ec03e8d0fd585b61f4deb00733b833e67a3cc432ffe3c2affccd = guix-build-db73d1623957/output/aarch64-linux-gnu/bitcoin-db73d1623957-aarch= 64-linux-gnu.tar.gz=C2=A0
2d89bed5b00526dd015042f324= 16bf1085b5bab0e0c36c42d8f6177a3bb7980f guix-build-db73d1623957/output/dist= -archive/bitcoin-db73d1623957.tar.gz=C2=A0
eafdc2613= 0f7f059af2ae2185eeae50943b166bad8778c1980b52497d6a14e02 guix-build-db73d16= 23957/output/x86_64-linux-gnu/bitcoin-db73d1623957-x86_64-linux-gnu-debug.t= ar.gz=C2=A0
71aef249424b98b2ceb137cc4f86894941c2449e= 83e58e0ff6620343ee17a789 guix-build-db73d1623957/output/x86_64-linux-gnu/b= itcoin-db73d1623957-x86_64-linux-gnu.tar.gz

Thanks,

Michael / fanquake
On Thursday, 6 August = 2026 at 16:41:54 UTC+1 fanquake wrote:
Hi list,

I've been working on producin= g `-static-pie` release binaries for Bitcoin Core, using our existing Guix = infrastructure. The goal is to ship release binaries that are as self-conta= ined as possible, doing away with our few remaining runtime dependencies (l= ibc & friends); this will also make our release binaries more portable.= Currently we target any system with glibc 2.31 or later. These new binarie= s will be able to run on systems with much older glibcs, as well as non-gli= bc based systems, like Alpine (musl libc).

These changes are current= ly only for our x86_64 and aarch64 Linux binaries, for bitcoind, and the ot= her utilities; bitcoin-qt and bitcoin-gui (multiprocess) won't be chang= ing. There are plans to support more targets in future (arm32, riscv64 etc)= .

The binaries are built with our current Guix toolchain (GCC 14.3.0= + Binutils 2.46.0) and against glibc 2.44 (rather than 2.31), with some pa= tching for reproducibility.

A PR with all the changes is available h= ere: https://github.com/bitcoin/bitcoin/pull/25573.

As of v31.1, a r= elease bitcoind, ~18mb, looks like this:

bitcoind: ELF 64-bit LSB pi= e executable, x86-64, version 1 (GNU/Linux), dynamically linked, interprete= r /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

ldd bit= coind
linux-vdso.so.1 (0x00007ff= fb4d49000)
libpthread.so.0 =3D&g= t; /lib/x86_64-linux-gnu/libpthread.so.0 (0x0000746451893000)
libm.so.6 =3D> /lib/x86_64-linux-gnu/libm.= so.6 (0x00007464517aa000)
libc.s= o.6 =3D> /lib/x86_64-linux-gnu/libc.so.6 (0x0000746450200000)
/lib64/ld-linux-x86-64.so.2 (0x00007464518= a8000)

With these changes, a release bitcoind, now ~19mb, would look= like:

bitcoind: ELF 64-bit LSB pie executable, x86-64, version 1 (G= NU/Linux), static-pie linked, for GNU/Linux 3.2.0, stripped

ldd bitc= oind
statically linked

I&= #39;m looking for any amount of testing or feedback. Please leave any quest= ions, bugs found or concerns in the PR, or feel free to reach out directly.=

You can find Guix built test binaries here:

https://github.com/fanquake/bitc= oin/releases/tag/static_bitcoind_ff01e5af948d

With the following= hashes:

22b757235729757bf4a225de4b34eca4d20704ad7e1fd6b48ab6902ef6f= ad407 =C2=A0guix-build-ff01e5af948d/output/aarch64-linux-gnu/bitcoin-ff01e5= af948d-aarch64-linux-gnu-debug.tar.gz
1f3461c39b1776cbbaa6d216847beb6670= df931121d1d4da9fbaaf6a3aad7398 =C2=A0guix-build-ff01e5af948d/output/aarch64= -linux-gnu/bitcoin-ff01e5af948d-aarch64-linux-gnu.tar.gz
00cc2357b102dd4= e1c41bf9fc0c28cc4d43ec1074b7035defc09e4c81f910322 =C2=A0guix-build-ff01e5af= 948d/output/dist-archive/bitcoin-ff01e5af948d.tar.gz
9d886b556d04658019f= 9882b7e10b3be26a91c5dbcdeedd4813fcaf769a7a750 =C2=A0guix-build-ff01e5af948d= /output/x86_64-linux-gnu/bitcoin-ff01e5af948d-x86_64-linux-gnu-debug.tar.gz=
5abdd153b2fc41f56c341b51c9175196f503d310dde64e109c781e8f05f019de = =C2=A0guix-build-ff01e5af948d/output/x86_64-linux-gnu/bitcoin-ff01e5af948d-= x86_64-linux-gnu.tar.gz

Thanks,

Michael /= fanquake

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoind= ev/e938393c-74ad-423f-b230-ab472a72bd04n%40googlegroups.com.
------=_Part_566655_168479615.1787072467760-- ------=_Part_566654_739177056.1787072467760--