Skip to content

Commit 8c4958b

Browse files
committed
Merge bitcoin/bitcoin#27153: guix: pass --enable-initfini-array to release GCC
127c637 guix: pass --enable-initfini-array to release GCC (fanquake) Pull request description: This returns us to pre-Guix behaviour, where the compilers we were using to build releases, were configured with this option. > [--enable-initfini-array](https://gcc.gnu.org/install/configure.html) > Force the use of sections .init_array and .fini_array (instead of .init and .fini) for constructors and destructors. Option --disable-initfini-array has the opposite effect. If neither option is specified, the configure script will try to guess whether the .init_array and .fini_array sections are supported and, if they are, use them. ACKs for top commit: TheCharlatan: ACK 127c637 vincenzopalazzo: utACK bitcoin/bitcoin@127c637 Tree-SHA512: fa61227054d52d4dfb4524af3888203a501f680661bdef00bb0970d4e8f7c96cf7f592686c4795be5a0debca267b8e564a4960859297c31f6b261c0729238382
2 parents 460e394 + 127c637 commit 8c4958b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

contrib/guix/manifest.scm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,11 @@ chain for " target " development."))
139139
;; https://gcc.gnu.org/install/configure.html
140140
(define (hardened-gcc gcc)
141141
(package-with-extra-configure-variable (
142-
package-with-extra-configure-variable gcc
143-
"--enable-default-ssp" "yes")
144-
"--enable-default-pie" "yes"))
142+
package-with-extra-configure-variable (
143+
package-with-extra-configure-variable gcc
144+
"--enable-initfini-array" "yes")
145+
"--enable-default-ssp" "yes")
146+
"--enable-default-pie" "yes"))
145147

146148
(define* (make-bitcoin-cross-toolchain target
147149
#:key

0 commit comments

Comments
 (0)