@@ -147,7 +147,7 @@ chain for " target " development."))
147
147
#:key
148
148
(base-gcc-for-libc base-gcc)
149
149
(base-kernel-headers base-linux-kernel-headers)
150
- (base-libc (make-glibc-with-bind-now (make-glibc-without-werror glibc-2.24 )))
150
+ (base-libc (make-glibc-with-stack-protector (make-glibc-with- bind-now (make-glibc-without-werror glibc-2.27) )))
151
151
(base-gcc (make-gcc-rpath-link (hardened-gcc base-gcc))))
152
152
" Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
153
153
desirable for building Bitcoin Core release binaries."
@@ -543,42 +543,23 @@ inspecting signatures in Mach-O binaries.")
543
543
(define (make-glibc-with-bind-now glibc )
544
544
(package-with-extra-configure-variable glibc " --enable-bind-now" " yes" ))
545
545
546
- (define-public glibc-2.24
547
- (package
548
- (inherit glibc-2.31)
549
- (version " 2.24" )
550
- (source (origin
551
- (method git-fetch)
552
- (uri (git-reference
553
- (url " https://sourceware.org/git/glibc.git" )
554
- (commit " 0d7f1ed30969886c8dde62fbf7d2c79967d4bace" )))
555
- (file-name (git-file-name " glibc" " 0d7f1ed30969886c8dde62fbf7d2c79967d4bace" ))
556
- (sha256
557
- (base32
558
- " 0g5hryia5v1k0qx97qffgwzrz4lr4jw3s5kj04yllhswsxyjbic3" ))
559
- (patches (search-our-patches " glibc-ldd-x86_64.patch"
560
- " glibc-versioned-locpath.patch"
561
- " glibc-2.24-elfm-loadaddr-dynamic-rewrite.patch"
562
- " glibc-2.24-no-build-time-cxx-header-run.patch"
563
- " glibc-2.24-fcommon.patch"
564
- " glibc-2.24-guix-prefix.patch" ))))))
565
-
566
- (define-public glibc-2.27/bitcoin-patched
546
+ (define-public glibc-2.27
567
547
(package
568
548
(inherit glibc-2.31)
569
549
(version " 2.27" )
570
550
(source (origin
571
551
(method git-fetch)
572
552
(uri (git-reference
573
553
(url " https://sourceware.org/git/glibc.git" )
574
- (commit " 23158b08a0908f381459f273a984c6fd328363cb " )))
575
- (file-name (git-file-name " glibc" " 23158b08a0908f381459f273a984c6fd328363cb " ))
554
+ (commit " 73886db6218e613bd6d4edf529f11e008a6c2fa6 " )))
555
+ (file-name (git-file-name " glibc" " 73886db6218e613bd6d4edf529f11e008a6c2fa6 " ))
576
556
(sha256
577
557
(base32
578
- " 1b2n1gxv9f4fd5yy68qjbnarhf8mf4vmlxk10i3328c1w5pmp0ca " ))
558
+ " 0azpb9cvnbv25zg8019rqz48h8i2257ngyjg566dlnp74ivrs9vq " ))
579
559
(patches (search-our-patches " glibc-ldd-x86_64.patch"
560
+ " glibc-versioned-locpath.patch"
580
561
" glibc-2.27-riscv64-Use-__has_include-to-include-asm-syscalls.h.patch"
581
- " glibc-2.27-dont-redefine-nss-database .patch"
562
+ " glibc-2.27-fcommon .patch"
582
563
" glibc-2.27-guix-prefix.patch" ))))))
583
564
584
565
(packages->manifest
@@ -627,12 +608,7 @@ inspecting signatures in Mach-O binaries.")
627
608
(make-nsis-for-gcc-10 nsis-x86_64)
628
609
osslsigncode))
629
610
((string-contains target " -linux-" )
630
- (list (cond ((string-contains target " riscv64-" )
631
- (make-bitcoin-cross-toolchain target
632
- #:base-libc (make-glibc-with-stack-protector
633
- (make-glibc-with-bind-now (make-glibc-without-werror glibc-2.27/bitcoin-patched)))))
634
- (else
635
- (make-bitcoin-cross-toolchain target)))))
611
+ (list (make-bitcoin-cross-toolchain target)))
636
612
((string-contains target " darwin" )
637
613
(list clang-toolchain-10 binutils cmake xorriso python-signapple))
638
614
(else '() )))))
0 commit comments