@@ -90,7 +90,7 @@ chain for " target " development."))
90
90
#:key
91
91
(base-gcc-for-libc linux-base-gcc)
92
92
(base-kernel-headers base-linux-kernel-headers)
93
- (base-libc glibc-2.31 )
93
+ (base-libc glibc)
94
94
(base-gcc linux-base-gcc))
95
95
" Convenience wrapper around MAKE-CROSS-TOOLCHAIN with default values
96
96
desirable for building Bitcoin Core release binaries."
@@ -127,47 +127,6 @@ desirable for building Bitcoin Core release binaries."
127
127
((" -rpath=" ) " -rpath-link=" ))
128
128
#t ))))))))
129
129
130
- (define-public glibc-2.31
131
- (let ((commit " 7b27c450c34563a28e634cccb399cd415e71ebfe" ))
132
- (package
133
- (inherit glibc) ; ; 2.35
134
- (version " 2.31" )
135
- (source (origin
136
- (method git-fetch)
137
- (uri (git-reference
138
- (url " https://sourceware.org/git/glibc.git" )
139
- (commit commit)))
140
- (file-name (git-file-name " glibc" commit))
141
- (sha256
142
- (base32
143
- " 017qdpr5id7ddb4lpkzj2li1abvw916m3fc6n7nw28z4h5qbv2n0" ))
144
- (patches (search-our-patches " glibc-guix-prefix.patch" ))))
145
- (arguments
146
- (substitute-keyword-arguments (package-arguments glibc)
147
- ((#:configure-flags flags)
148
- `(append ,flags
149
- ; ; https://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html
150
- (list " --enable-stack-protector=all" ,
151
- " --enable-cet" ,
152
- " --enable-bind-now" ,
153
- " --disable-werror" ,
154
- " --disable-timezone-tools" ,
155
- " --disable-profile" ,
156
- building-on)))
157
- ((#:phases phases)
158
- `(modify-phases ,phases
159
- (add-before 'configure 'set-etc-rpc-installation-directory
160
- (lambda* (#:key outputs #:allow-other-keys)
161
- ; ; Install the rpc data base file under `$out/etc/rpc'.
162
- ; ; Otherwise build will fail with "Permission denied."
163
- ; ; Can be removed when we are building 2.32 or later.
164
- (let ((out (assoc-ref outputs " out" )))
165
- (substitute* " sunrpc/Makefile"
166
- ((" ^\\ $\\ (inst_sysconfdir\\ )/rpc(.*)$" _ suffix)
167
- (string-append out " /etc/rpc" suffix " \n " ))
168
- ((" ^install-others =.*$" )
169
- (string-append " install-others = " out " /etc/rpc\n " )))))))))))))
170
-
171
130
(packages->manifest
172
131
(append
173
132
(list ; ; The Basics
0 commit comments