Skip to content

Commit 90fd13b

Browse files
committed
guix: Pin kernel header version
- Use 4.19 for riscv64 (earliest LTS release w/ riscv64 support) - Use 4.9 for all others (second-oldest LTS release, released in combination with glibc glibc 2.24 in Debian stretch)
1 parent 531c2b7 commit 90fd13b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contrib/guix/manifest.scm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ chain for " target " development."))
156156
(define* (make-bitcoin-cross-toolchain target
157157
#:key
158158
(base-gcc-for-libc gcc-7)
159-
(base-kernel-headers linux-libre-headers-5.4)
159+
(base-kernel-headers linux-libre-headers-4.9)
160160
(base-libc (make-glibc-without-ssp glibc-2.24))
161161
(base-gcc (make-gcc-rpath-link base-gcc)))
162162
"Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
@@ -647,7 +647,9 @@ inspecting signatures in Mach-O binaries.")
647647
osslsigncode))
648648
((string-contains target "-linux-")
649649
(list (cond ((string-contains target "riscv64-")
650-
(make-bitcoin-cross-toolchain target #:base-libc glibc-2.27/bitcoin-patched))
650+
(make-bitcoin-cross-toolchain target
651+
#:base-libc glibc-2.27/bitcoin-patched
652+
#:base-kernel-headers linux-libre-headers-4.19))
651653
(else
652654
(make-bitcoin-cross-toolchain target)))))
653655
((string-contains target "darwin")

0 commit comments

Comments
 (0)