From d64f13754f962920201362011aeeb5c12a307008 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 3 Jan 2026 20:02:57 +0100 Subject: [PATCH] package/bitcoin: broken on m68k Buildroot commit a3a88ff1c85ba0067af1028bc232f8f61b628979 bumped bitcoin to version 26.0 which includes upstream commit https://github.com/bitcoin/bitcoin/commit/b8401c3281978beed6198b2f9782b6a8dd35cbd7 causing an assertion on m68k: /home/thomas/autobuild/instance-7/output-1/build/bitcoin-30.0/src/support/allocators/pool.h:92:36: error: static assertion failed: Units of size ELEM_SIZE_ALIGN need to be able to store a ListNode 92 | static_assert(sizeof(ListNode) <= ELEM_ALIGN_BYTES, "Units | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ of size ELEM_SIZE_ALIGN need to be able to store a ListNode"); /home/thomas/autobuild/instance-7/output-1/build/bitcoin-30.0/src/support/allocators/pool.h:92:36: note: the comparison reduces to '(4 <= 2)' To fix the problem we disable bitcoin on m68k. Fixes: 30.0: https://autobuild.buildroot.net/results/268/2688e4a2aa8dc34343f0218fd6727d0ae3adb132/ 26.0: https://autobuild.buildroot.net/results/fb0/fb05401c7de289e0f87f5c9e3a7f92f5589b590b/ Signed-off-by: Bernd Kuhls Signed-off-by: Julien Olivain (cherry picked from commit 555114a0ecae0a62a4d4a5de9327eeaa0543eb53) Signed-off-by: Thomas Perale --- package/bitcoin/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/bitcoin/Config.in b/package/bitcoin/Config.in index 425e99ce8b..8a36ab4f86 100644 --- a/package/bitcoin/Config.in +++ b/package/bitcoin/Config.in @@ -6,6 +6,10 @@ config BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS # support. BR2_TOOLCHAIN_HAS_ATOMIC does not provide a # size-level granularity to express this dependency. depends on !(BR2_arm || BR2_armeb) || BR2_USE_MMU + # error: static assertion failed: Units of size ELEM_SIZE_ALIGN + # need to be able to store a ListNode + # note: the comparison reduces to ‘(4 <= 2)’ + depends on !BR2_m68k config BR2_PACKAGE_BITCOIN bool "bitcoin"