From 776a163374168dd96a9ad7c2ff9666d838477dfa Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 12 Aug 2025 14:41:14 +0100 Subject: [PATCH] guix: increase maximum allowed (runtime) GCC to 7 Fixes: ```bash /distsrc-base/distsrc-d3b8a54a8120-x86_64-linux-gnu/build/bin/bitcoind: symbol __divmodti4 from unsupported version GCC_7.0.0(14) /distsrc-base/distsrc-d3b8a54a8120-x86_64-linux-gnu/build/bin/bitcoind: failed IMPORTED_SYMBOLS ``` which is occuring after #32750. I can't see any supported distro that is shipping a new enough glibc (2.31), but a GCC older than 7.0. --- contrib/guix/symbol-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/guix/symbol-check.py b/contrib/guix/symbol-check.py index 91241edaf9d..b5093f342d8 100755 --- a/contrib/guix/symbol-check.py +++ b/contrib/guix/symbol-check.py @@ -32,7 +32,7 @@ import lief # See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html for more info. MAX_VERSIONS = { -'GCC': (4,3,0), +'GCC': (7,0,0), 'GLIBC': { lief.ELF.ARCH.X86_64: (2,31), lief.ELF.ARCH.ARM: (2,31),